main.m1250 chars39 lines
To use the state machine, you can create an instance of the class using the initial state and call the transition
method with an input. The transition
method returns the new state and any output message.
main.m226 chars6 lines
gistlibby LogSnag