Exception: SmashTheState::Operation::State::Invalid

Inherits:
StandardError
  • Object
show all
Defined in:
lib/smash_the_state/operation/state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#stateObject (readonly)

Returns the value of attribute state.



10
11
12
# File 'lib/smash_the_state/operation/state.rb', line 10

def state
  @state
end