Sha256: f451a4d4a099dc9055605b765fecd76ebca33356c3abb79d67624dd876f5ad03

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faster_path-0.0.8 lib/faster_path/optional/monkeypatches.rb
faster_path-0.0.6 lib/faster_path/optional/monkeypatches.rb