Exception: FormulaClassUnavailableError

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

Overview

Raised when a formula does not contain a formula class.

Instance Attribute Summary

Attributes included from FormulaClassUnavailableErrorModule

#class_list, #class_name, #path

Attributes inherited from FormulaUnavailableError

#dependent

Attributes inherited from FormulaOrCaskUnavailableError

#name

Instance Method Summary collapse

Methods included from FormulaClassUnavailableErrorModule

#to_s

Methods inherited from FormulaUnavailableError

#dependent_s, #to_s

Methods inherited from FormulaOrCaskUnavailableError

#to_s

Constructor Details

#initialize(name, path, class_name, class_list) ⇒ FormulaClassUnavailableError

Returns a new instance of FormulaClassUnavailableError.


142
143
144
145
146
147
# File 'Library/Homebrew/exceptions.rb', line 142

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