Move this method somewhere more appropriate
This commit is contained in:
parent
c79d7272c8
commit
8d000110cc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user