diff options
| author | Jack Nagel | 2015-01-04 21:35:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-04 21:36:22 -0500 |
| commit | 2f40ded239362cb0990a5203cd34bf755c805945 (patch) | |
| tree | 6449a7ef071f7e21e8839ef8e4f77c3cb0a0831c /Library/Homebrew | |
| parent | bba14bb9d4dfa42751ecc2817b6748be6124ba91 (diff) | |
| download | homebrew-2f40ded239362cb0990a5203cd34bf755c805945.tar.bz2 | |
Include selected spec in Formula#inspect
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 98e8ba719..4f1370b10 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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. |
