5 6 7 8 9 10
# 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