lib/guard/internals/helpers.rb



module Guard
  # @private api
  module Internals
    module Helpers
      def _relative_pathname(path)
        full_path = Pathname(path)
        full_path.relative_path_from(Pathname.pwd)
      rescue ArgumentError
        full_path
      end
    end
  end
end