lib/faster_path/optional/monkeypatches.rb in faster_path-0.2.5 vs lib/faster_path/optional/monkeypatches.rb in faster_path-0.2.6
- old
+ new
@@ -85,9 +85,13 @@
private :plus
def relative?
FasterPath.relative?(@path)
end
+
+ def relative_path_from(other)
+ FasterPath.relative_path_from(@path, other)
+ end
end
end
end
private_constant :MonkeyPatches