lib/tomograph/tomogram.rb in tomograph-1.1.0 vs lib/tomograph/tomogram.rb in tomograph-1.2.0
- old
+ new
@@ -26,7 +26,11 @@
end
def to_resources
@documentation.to_resources
end
+
+ def prefix_match?(raw_path)
+ raw_path.include?(@prefix)
+ end
end
end