diff options
| author | Jack Nagel | 2014-06-22 15:00:15 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-22 15:03:17 -0500 |
| commit | f7b71472fe139f6351af9871a889c78f9e13a1c5 (patch) | |
| tree | baed819539e34ad9d6e1197b4591848708948bb2 /Library/Homebrew/formula.rb | |
| parent | 5cf83594155571ca67a85839d5c2cacc77fee4ea (diff) | |
| download | homebrew-f7b71472fe139f6351af9871a889c78f9e13a1c5.tar.bz2 | |
Move deprecated Formula class methods to compat
These have all been moved to Formulary.
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 76f6681cd..8b9d2ddb3 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -338,10 +338,6 @@ class Formula alias_method :python2, :python alias_method :python3, :python - def self.class_s name - Formulary.class_s(name) - end - # an array of all Formula names def self.names Dir["#{HOMEBREW_LIBRARY}/Formula/*.rb"].map{ |f| File.basename f, '.rb' }.sort @@ -376,19 +372,10 @@ class Formula Dir["#{HOMEBREW_LIBRARY}/Aliases/*"].map{ |f| File.basename f }.sort end - def self.canonical_name name - Formulary.canonical_name(name) - end - def self.[](name) Formulary.factory(name) end - # deprecated - def self.factory name - Formulary.factory name - end - def tap? HOMEBREW_TAP_DIR_REGEX === path end |
