Exception: TapAlreadyTappedError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TapAlreadyTappedError
- Defined in:
- Library/Homebrew/exceptions.rb
Overview
Raised when a tap is already installed.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ TapAlreadyTappedError
constructor
A new instance of TapAlreadyTappedError.
Constructor Details
#initialize(name) ⇒ TapAlreadyTappedError
Returns a new instance of TapAlreadyTappedError.
286 287 288 289 290 291 292 |
# File 'Library/Homebrew/exceptions.rb', line 286 def initialize(name) @name = name super <<~EOS Tap #{name} already tapped. EOS end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
284 285 286 |
# File 'Library/Homebrew/exceptions.rb', line 284 def name @name end |