Sha256: f5f6d3571dec2031a30a088e6ec7897f3acf075d97fb3cbd57d7f93508905fcd

Contents?: true

Size: 262 Bytes

Versions: 61

Compression:

Stored size: 262 Bytes

Contents

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

Version data entries

61 entries across 61 versions & 10 rubygems

Version Path
guard-2.16.1 lib/guard/internals/helpers.rb
guard-2.16.0 lib/guard/internals/helpers.rb
guard-2.15.1 lib/guard/internals/helpers.rb
alimentos-alu0100945645-0.1.0 vendor/bundle/ruby/2.3.0/gems/guard-2.15.0/lib/guard/internals/helpers.rb
alimentos-alu0100945645-1.0.0 vendor/bundle/ruby/2.3.0/gems/guard-2.15.0/lib/guard/internals/helpers.rb
guard-2.15.0 lib/guard/internals/helpers.rb
guard-2.14.2 lib/guard/internals/helpers.rb
comiditaULL-0.1.1 vendor/bundle/ruby/2.3.0/gems/guard-2.14.1/lib/guard/internals/helpers.rb
comidita_ull-0.1.1 vendor/bundle/ruby/2.3.0/gems/guard-2.14.1/lib/guard/internals/helpers.rb
comidita_ull-0.1.0 vendor/bundle/ruby/2.3.0/gems/guard-2.14.1/lib/guard/internals/helpers.rb
guard-2.14.1 lib/guard/internals/helpers.rb
gameboard-3.1.0 vendor/bundle/ruby/2.3.0/gems/guard-2.14.0/lib/guard/internals/helpers.rb
gameboard-3.0.0 vendor/bundle/ruby/2.3.0/gems/guard-2.14.0/lib/guard/internals/helpers.rb
guard-2.14.0 lib/guard/internals/helpers.rb
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/guard-2.13.0/lib/guard/internals/helpers.rb
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/guard-2.13.0/lib/guard/internals/helpers.rb
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/guard-2.13.0/lib/guard/internals/helpers.rb
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/guard-2.13.0/lib/guard/internals/helpers.rb
geminfo-0.1.0 path/gems/guard-2.13.0/lib/guard/internals/helpers.rb
guard-2.13.0 lib/guard/internals/helpers.rb