Exception: Slayer::CommandFailureError
- Inherits:
-
StandardError
- Object
- StandardError
- Slayer::CommandFailureError
- Defined in:
- lib/slayer/errors.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ CommandFailureError
constructor
A new instance of CommandFailureError.
Constructor Details
#initialize(result) ⇒ CommandFailureError
Returns a new instance of CommandFailureError.
5 6 7 8 |
# File 'lib/slayer/errors.rb', line 5 def initialize(result) @result = result super end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
3 4 5 |
# File 'lib/slayer/errors.rb', line 3 def result @result end |