Move this method somewhere more appropriate

This commit is contained in:
Jack Nagel 2013-03-20 22:23:36 -05:00
parent c79d7272c8
commit 8d000110cc

View File

@ -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