Exception: HomebrewAutomation::Bottle::Error
- Inherits:
-
StandardError
- Object
- StandardError
- HomebrewAutomation::Bottle::Error
- Defined in:
- lib/homebrew_automation/bottle.rb
Instance Attribute Summary collapse
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(msg, original:) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, original:) ⇒ Error
Returns a new instance of Error.
15 16 17 18 |
# File 'lib/homebrew_automation/bottle.rb', line 15 def initialize(msg, original:) @original = original super(msg) end |
Instance Attribute Details
#original ⇒ Object (readonly)
Returns the value of attribute original.
13 14 15 |
# File 'lib/homebrew_automation/bottle.rb', line 13 def original @original end |