module Guard::Internals::Helpers

Public Instance Methods

_relative_pathname(path) click to toggle source
# File lib/guard/internals/helpers.rb, line 5
def _relative_pathname(path)
  full_path = Pathname(path)
  full_path.relative_path_from(Pathname.pwd)
rescue ArgumentError
  full_path
end