lib/faster_path/optional/monkeypatches.rb in faster_path-0.1.5 vs lib/faster_path/optional/monkeypatches.rb in faster_path-0.1.6

- old
+ new

@@ -8,10 +8,14 @@ ::Pathname.class_eval do def absolute? FasterPath.absolute?(@path) end - + + def directory? + FasterPath.directory?(@path) + end + def chop_basename(pth) FasterPath.chop_basename(pth) end private :chop_basename