lib/faster_path/optional/refinements.rb in faster_path-0.2.5 vs lib/faster_path/optional/refinements.rb in faster_path-0.2.6
- old
+ new
@@ -80,8 +80,12 @@
private :plus
def relative?
FasterPath.relative?(@path)
end
+
+ def relative_path_from(other)
+ FasterPath.relative_path_from(@path, other)
+ end
end
end
end