Include selected spec in Formula#inspect
This commit is contained in:
parent
8535c037ac
commit
eec4feccaa
@ -436,7 +436,9 @@ class Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
def inspect
|
def inspect
|
||||||
"#<#{self.class.name}: #{path}>"
|
s = "#<Formula #{name} ("
|
||||||
|
s << if head? then "head" elsif devel? then "devel" else "stable" end
|
||||||
|
s << ") #{path}>"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Standard parameters for CMake builds.
|
# Standard parameters for CMake builds.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user