Include selected spec in Formula#inspect

This commit is contained in:
Jack Nagel 2015-01-04 21:35:20 -05:00
parent 8535c037ac
commit eec4feccaa

View File

@ -436,7 +436,9 @@ class Formula
end
def inspect
"#<#{self.class.name}: #{path}>"
s = "#<Formula #{name} ("
s << if head? then "head" elsif devel? then "devel" else "stable" end
s << ") #{path}>"
end
# Standard parameters for CMake builds.