lib/faster_path/optional/monkeypatches.rb in faster_path-0.0.5 vs lib/faster_path/optional/monkeypatches.rb in faster_path-0.0.6
- old
+ new
@@ -7,9 +7,13 @@
def chop_basename(pth)
FasterPath.chop_basename(pth)
end
private :chop_basename
+
+ def relative?
+ FasterPath.relative?(@path)
+ end
end
end
end