lib/faster_path/optional/monkeypatches.rb in faster_path-0.1.2 vs lib/faster_path/optional/monkeypatches.rb in faster_path-0.1.3

- old
+ new

@@ -1,11 +1,11 @@ module FasterPath def self.sledgehammer_everything! ::File.class_eval do def basename(pth) FasterPath.basename(pth) - end if FasterPath.respond_to? :basename - end unless true # No need to open class when we're not using it yet + end + end ::Pathname.class_eval do def absolute? FasterPath.absolute?(@path) end