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 ⇒ Tap readonly private
Attributes inherited from FormulaOrCaskUnavailableError
Instance Method Summary collapse
- #initialize(tap, name) ⇒ void constructor private
Methods inherited from FormulaOrCaskUnavailableError
Constructor Details
#initialize(tap, name) ⇒ void
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.
161 162 163 164 |
# File 'exceptions.rb', line 161 def initialize(tap, name) super "#{tap}/#{name}" @tap = tap end |
Instance Attribute Details
#tap ⇒ Tap (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.
158 159 160 |
# File 'exceptions.rb', line 158 def tap @tap end |