Exception: ScripTTY::Util::FSM::NoMatch
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ScripTTY::Util::FSM::NoMatch
- Defined in:
- lib/scriptty/util/fsm.rb
Overview
Exception for no matching state
Instance Attribute Summary collapse
-
#input_sequence ⇒ Object
readonly
Returns the value of attribute input_sequence.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(message, input_sequence, state) ⇒ NoMatch
constructor
A new instance of NoMatch.
Constructor Details
#initialize(message, input_sequence, state) ⇒ NoMatch
Returns a new instance of NoMatch.
25 26 27 28 29 |
# File 'lib/scriptty/util/fsm.rb', line 25 def initialize(, input_sequence, state) @input_sequence = input_sequence @state = state super() end |
Instance Attribute Details
#input_sequence ⇒ Object (readonly)
Returns the value of attribute input_sequence.
24 25 26 |
# File 'lib/scriptty/util/fsm.rb', line 24 def input_sequence @input_sequence end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
24 25 26 |
# File 'lib/scriptty/util/fsm.rb', line 24 def state @state end |