Class: StreetAddressCh::ChStatemachineContext
- Inherits:
-
Object
- Object
- StreetAddressCh::ChStatemachineContext
- Defined in:
- lib/streetaddressch/chstatemachine.rb
Instance Attribute Summary collapse
-
#statemachine ⇒ Object
Returns the value of attribute statemachine.
Instance Method Summary collapse
Instance Attribute Details
#statemachine ⇒ Object
Returns the value of attribute statemachine.
8 9 10 |
# File 'lib/streetaddressch/chstatemachine.rb', line 8 def statemachine @statemachine end |
Instance Method Details
#shift_word(tmp) ⇒ Object
9 10 11 |
# File 'lib/streetaddressch/chstatemachine.rb', line 9 def shift_word(tmp) @statemachine.result_list << tmp.to_s end |