Exception: SmashTheState::Operation::State::Invalid
- Inherits:
-
StandardError
- Object
- StandardError
- SmashTheState::Operation::State::Invalid
- Defined in:
- lib/smash_the_state/operation/state.rb
Instance Attribute Summary collapse
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(state) ⇒ Invalid
constructor
A new instance of Invalid.
Constructor Details
#initialize(state) ⇒ Invalid
Returns a new instance of Invalid.
12 13 14 |
# File 'lib/smash_the_state/operation/state.rb', line 12 def initialize(state) @state = state end |
Instance Attribute Details
#state ⇒ Object (readonly)
Returns the value of attribute state.
10 11 12 |
# File 'lib/smash_the_state/operation/state.rb', line 10 def state @state end |