Skip to content
Snippets Groups Projects
Commit 8507ba3d authored by Jack Nagel's avatar Jack Nagel
Browse files

Add Requirement#inspect

parent 3d66808c
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,10 @@ class Requirement
[name, *tags].hash
end
def inspect
"#<#{self.class}: #{name.inspect} #{tags.inspect}>"
end
def to_dependency
f = self.class.default_formula
raise "No default formula defined for #{inspect}" if f.nil?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment