lib/faster_path/optional/monkeypatches.rb in faster_path-0.0.8 vs lib/faster_path/optional/monkeypatches.rb in faster_path-0.0.9
- old
+ new
@@ -1,7 +1,7 @@
module FasterPath
def self.sledgehammer_everything!
- class << ::Pathname
+ ::Pathname.class_eval do
def absolute?
FasterPath.absolute?(@path)
end
def chop_basename(pth)