diff options
| author | Jack Nagel | 2014-07-01 15:13:29 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-01 18:39:15 -0500 |
| commit | b14ddfa15fe03397f3044e4a8ff73f6f8997e955 (patch) | |
| tree | ee6a16020e1a32ec351703e4fa0ce52113d962c1 /Library | |
| parent | 6da317b50c57dd4fc615cde75cd4d78aae777d9b (diff) | |
| download | homebrew-b14ddfa15fe03397f3044e4a8ff73f6f8997e955.tar.bz2 | |
Better Formula#inspect string
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 8b9d2ddb3..64f329a7e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -307,8 +307,9 @@ class Formula def to_s name end + def inspect - name + "#<#{self.class.name}: #{path}>" end # Standard parameters for CMake builds. |
