RubyGems.org

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.

installgem install soveran-micromachine
Authors

Michel Martens

918 total downloads 142 for this version
Gemfile
gem 'soveran-micromachine', '~> 0.0.9'
Versions
  1. 0.0.9 May 16, 2009 (6 KB)
  2. 0.0.8 May 16, 2009 (6 KB)
  3. 0.0.7 March 7, 2009 (5.5 KB)
  4. 0.0.6 March 7, 2009 (5 KB)
  5. 0.0.5 March 7, 2009 (5 KB)
Show all versions (7 total)
Ruby Dependency
  1. >= 0