Move this method somewhere more appropriate
This commit is contained in:
parent
c79d7272c8
commit
8d000110cc
@ -259,6 +259,9 @@ class Formula
|
|||||||
def to_s
|
def to_s
|
||||||
name
|
name
|
||||||
end
|
end
|
||||||
|
def inspect
|
||||||
|
name
|
||||||
|
end
|
||||||
|
|
||||||
# Standard parameters for CMake builds.
|
# Standard parameters for CMake builds.
|
||||||
# Using Build Type "None" tells cmake to use our CFLAGS,etc. settings.
|
# 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
|
HOMEBREW_CELLAR.children.map{ |rack| factory(rack.basename) rescue nil }.compact
|
||||||
end
|
end
|
||||||
|
|
||||||
def inspect
|
|
||||||
name
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.aliases
|
def self.aliases
|
||||||
Dir["#{HOMEBREW_REPOSITORY}/Library/Aliases/*"].map{ |f| File.basename f }.sort
|
Dir["#{HOMEBREW_REPOSITORY}/Library/Aliases/*"].map{ |f| File.basename f }.sort
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user