Sha256: 74b589b44579bc266abbe7b4949bfc1fdbc047002187644c3019a96fc043eb8c

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

module FasterPath
  def self.sledgehammer_everything!
    class << ::Pathname
      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/monkeypatches.rb
faster_path-0.0.4 lib/faster_path/optional/monkeypatches.rb
faster_path-0.0.3 lib/faster_path/optional/monkeypatches.rb
faster_path-0.0.2 lib/faster_path/optional/monkeypatches.rb