aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-01 15:13:29 -0500
committerJack Nagel2014-07-01 18:39:15 -0500
commit5375f2397e24e8f549517ea4a66b9d16092bd918 (patch)
tree14581f3c749e6a92bd6296a62e666aa231003911 /Library
parentfbefa76ce216a4e6023134e754aa83472604e0f3 (diff)
downloadbrew-5375f2397e24e8f549517ea4a66b9d16092bd918.tar.bz2
Better Formula#inspect string
Diffstat (limited to 'Library')
-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.