Sha256: 9af3a631086f647805ad7fd226b0e7acf4b66ef44f9daef377cfb89eb7a53a26

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 Bytes

Contents

module FasterPath
  module RefinePathname
    refine Pathname do
      def absolute?
        FasterPath.absolute?(@path)
      end

      def chop_basename(pth)
        FasterPath.chop_basename(pth)
      end
      private :chop_basename

      def relative?
        FasterPath.relative?(@path)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
faster_path-0.1.1 lib/faster_path/optional/refinements.rb
faster_path-0.1.0 lib/faster_path/optional/refinements.rb
faster_path-0.0.9 lib/faster_path/optional/refinements.rb
faster_path-0.0.8 lib/faster_path/optional/refinements.rb
faster_path-0.0.6 lib/faster_path/optional/refinements.rb