module GitFyncy::Utils

Public Instance Methods

pexit(error) click to toggle source
# File lib/git-fyncy/utils.rb, line 7
def pexit(error)
  STDERR.puts error
  exit 1
end
slashify(path) click to toggle source
# File lib/git-fyncy/utils.rb, line 3
def slashify(path)
  path[-1] == '/' ? path : path + '/'
end