lib/url_regexp/path.rb in url_regexp-0.1.0 vs lib/url_regexp/path.rb in url_regexp-0.1.1
- old
+ new
@@ -11,9 +11,13 @@
@parent = parent
@paths = PathSet.new
@path_end = false
end
+ def path_end?
+ @path_end
+ end
+
def hash
[@label, @paths.hash].hash
end
def append(path)