There are many finite state machine implementations for Ruby, and they all provide a nice DSL for declaring events, exceptions, callbacks, and all kinds of niceties in general. But if all you want is a finite state machine, look no further: this is only 22 lines of code and provides everything a finite state machine must have, and nothing more.
Required Ruby Version
>= 0
Authors
Michel Martens
Versions
- 0.0.9 August 10, 2014 (6 KB)
- 0.0.8 August 10, 2014 (6 KB)
- 0.0.7 August 10, 2014 (5.5 KB)
- 0.0.6 August 10, 2014 (5 KB)
- 0.0.5 August 10, 2014 (5 KB)