aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-07-01 15:13:29 -0500
committerJack Nagel2014-07-01 18:39:15 -0500
commitb14ddfa15fe03397f3044e4a8ff73f6f8997e955 (patch)
treeee6a16020e1a32ec351703e4fa0ce52113d962c1 /Library/Homebrew
parent6da317b50c57dd4fc615cde75cd4d78aae777d9b (diff)
downloadhomebrew-b14ddfa15fe03397f3044e4a8ff73f6f8997e955.tar.bz2
Better Formula#inspect string
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb3
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.