lib/faster_path/optional/refinements.rb in faster_path-0.2.2 vs lib/faster_path/optional/refinements.rb in faster_path-0.2.3

- old
+ new

@@ -42,9 +42,14 @@ def chop_basename(pth) FasterPath.chop_basename(pth) end private :chop_basename + def cleanpath_aggressive + Pathname.new(FasterPath.cleanpath_aggressive(@path)) + end + private :cleanpath_aggressive + def directory? FasterPath.directory?(@path) end # Do NOT remove; waiting for fix in ruru