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