Sha256: dfd75aea3aa8ea80744da80fc8558f54e74d8db7c70c30807e466cf517ab5232
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 Bytes
Contents
module FasterPath def self.sledgehammer_everything! ::Pathname.class_eval 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
faster_path-0.1.1 | lib/faster_path/optional/monkeypatches.rb |
faster_path-0.1.0 | lib/faster_path/optional/monkeypatches.rb |
faster_path-0.0.9 | lib/faster_path/optional/monkeypatches.rb |