aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-03-20 22:23:36 -0500
committerJack Nagel2013-03-20 22:32:56 -0500
commit8d000110ccd33464f23d3b4cfac75908b61f802c (patch)
tree26ebfce4184a45512ac7b164efe252799e942095 /Library
parentc79d7272c89f8f99c88b454cf4b854b727179791 (diff)
downloadbrew-8d000110ccd33464f23d3b4cfac75908b61f802c.tar.bz2
Move this method somewhere more appropriate
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index bd023f8bc..562d04ff8 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -259,6 +259,9 @@ class Formula
def to_s
name
end
+ def inspect
+ name
+ end
# Standard parameters for CMake builds.
# Using Build Type "None" tells cmake to use our CFLAGS,etc. settings.
@@ -307,10 +310,6 @@ class Formula
HOMEBREW_CELLAR.children.map{ |rack| factory(rack.basename) rescue nil }.compact
end
- def inspect
- name
- end
-
def self.aliases
Dir["#{HOMEBREW_REPOSITORY}/Library/Aliases/*"].map{ |f| File.basename f }.sort
end