Sha256: 13d4cc35bce05cea397ee9cef309221aa773fe3bb0e8f1536fe30ee43d750900

Contents?: true

Size: 256 Bytes

Versions: 4

Compression:

Stored size: 256 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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
faster_path-0.0.5 lib/faster_path/optional/refinements.rb
faster_path-0.0.4 lib/faster_path/optional/refinements.rb
faster_path-0.0.3 lib/faster_path/optional/refinements.rb
faster_path-0.0.2 lib/faster_path/optional/refinements.rb