Exception: TapAlreadyTappedError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TapAlreadyTappedError
- Defined in:
- 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.
350 351 352 353 354 355 356 |
# File 'exceptions.rb', line 350 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.
348 349 350 |
# File 'exceptions.rb', line 348 def name @name end |