Exception: TapFormulaOrCaskUnavailableError Private
- Inherits:
-
FormulaOrCaskUnavailableError
- Object
- RuntimeError
- FormulaOrCaskUnavailableError
- TapFormulaOrCaskUnavailableError
- 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 or cask in a specific tap is not available.
Instance Attribute Summary collapse
- #tap ⇒ Object readonly private
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
-
#initialize(tap, name) ⇒ TapFormulaOrCaskUnavailableError
constructor
private
A new instance of TapFormulaOrCaskUnavailableError.
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
#initialize(tap, name) ⇒ TapFormulaOrCaskUnavailableError
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 TapFormulaOrCaskUnavailableError.
125 126 127 128 |
# File 'exceptions.rb', line 125 def initialize(tap, name) super "#{tap}/#{name}" @tap = tap 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.
123 124 125 |
# File 'exceptions.rb', line 123 def tap @tap end |