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

Attributes inherited from FormulaOrCaskUnavailableError

#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

Methods inherited from FormulaOrCaskUnavailableError

#to_s

Constructor Details

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

Returns a new instance of TapFormulaClassUnavailableError.


195
196
197
198
199
200
# File 'Library/Homebrew/exceptions.rb', line 195

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


193
194
195
# File 'Library/Homebrew/exceptions.rb', line 193

def tap
  @tap
end