Stateology is an implementation of the State Pattern using the Mixology C extension. Stateology follows closely the LSL State Pattern implementation and can support a similar syntax.
The following features are supported:
Dynamic switching between states (mixing and unmixing modules)
Optional state_entry() and state_exit() hooks for each state (automatically called upon state entry and exit)
Support for nested [...]
Filed under: programming, ruby | Tagged: mixology, ruby, ruby finite state machine, ruby FSM, ruby states, state pattern, stateology | 1 Comment »