Class: Formulary::NullLoader

Inherits:
FormulaLoader show all
Defined in:
Library/Homebrew/formulary.rb

Instance Attribute Summary

Attributes inherited from FormulaLoader

#alias_path, #name, #path

Instance Method Summary collapse

Methods inherited from FormulaLoader

#klass

Constructor Details

#initialize(name) ⇒ NullLoader



247
248
249
# File 'Library/Homebrew/formulary.rb', line 247

def initialize(name)
  super name, Formulary.core_path(name)
end

Instance Method Details

#get_formulaObject



251
252
253
# File 'Library/Homebrew/formulary.rb', line 251

def get_formula(*)
  raise FormulaUnavailableError, name
end