Exception: TapFormulaClassUnavailableError

Inherits:
TapFormulaUnavailableError show all
Includes:
FormulaClassUnavailableErrorModule
Defined in:
Library/Homebrew/exceptions.rb

Overview

Raised when a formula in a specific tap does not contain a formula class.

Instance Attribute Summary collapse

Attributes included from FormulaClassUnavailableErrorModule

#class_list, #class_name, #path

Attributes inherited from TapFormulaUnavailableError

#repo, #user

Attributes inherited from FormulaUnavailableError

#dependent, #name

Instance Method Summary collapse

Methods included from FormulaClassUnavailableErrorModule

#to_s

Methods inherited from TapFormulaUnavailableError

#to_s

Methods inherited from FormulaUnavailableError

#dependent_s, #to_s

Constructor Details

#initialize(tap, name, path, class_name, class_list) ⇒ TapFormulaClassUnavailableError

Returns a new instance of TapFormulaClassUnavailableError.


179
180
181
182
183
184
# File 'Library/Homebrew/exceptions.rb', line 179

def initialize(tap, name, path, class_name, class_list)
  @path = path
  @class_name = class_name
  @class_list = class_list
  super tap, name
end

Instance Attribute Details

#tapObject (readonly)

Returns the value of attribute tap


177
178
179
# File 'Library/Homebrew/exceptions.rb', line 177

def tap
  @tap
end