Class: StreetAddressCh::ChStatemachineContext

Inherits:
Object
  • Object
show all
Defined in:
lib/streetaddressch/chstatemachine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#statemachineObject

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