Exception: SmashTheState::Operation::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SmashTheState::Operation::Error
- Defined in:
- lib/smash_the_state/operation/error.rb
Instance Attribute Summary collapse
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(state) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(state) ⇒ Error
Returns a new instance of Error.
6 7 8 |
# File 'lib/smash_the_state/operation/error.rb', line 6 def initialize(state) @state = state end |
Instance Attribute Details
#state ⇒ Object (readonly)
Returns the value of attribute state.
4 5 6 |
# File 'lib/smash_the_state/operation/error.rb', line 4 def state @state end |