Exception: TapFormulaClassUnavailableError Private
- Inherits:
-
TapFormulaUnavailableError
- Object
- RuntimeError
- FormulaOrCaskUnavailableError
- FormulaUnavailableError
- TapFormulaUnavailableError
- TapFormulaClassUnavailableError
- Includes:
- FormulaClassUnavailableErrorModule
- Defined in:
- exceptions.rb
Overview
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Raised when a formula in a specific tap does not contain a formula class.
Instance Attribute Summary collapse
- #tap ⇒ Object readonly private
Attributes included from FormulaClassUnavailableErrorModule
#class_list, #class_name, #path
Attributes inherited from TapFormulaUnavailableError
Attributes inherited from FormulaUnavailableError
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
-
#initialize(tap, name, path, class_name, class_list) ⇒ TapFormulaClassUnavailableError
constructor
private
A new instance of TapFormulaClassUnavailableError.
Methods inherited from FormulaUnavailableError
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
#initialize(tap, name, path, class_name, class_list) ⇒ TapFormulaClassUnavailableError
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns a new instance of TapFormulaClassUnavailableError.
244 245 246 247 248 249 |
# File 'exceptions.rb', line 244 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
#tap ⇒ Object (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
242 243 244 |
# File 'exceptions.rb', line 242 def tap @tap end |