RubyGems.org

micromachine

1.1.0

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 has less than 50 lines of code and provides everything a finite state machine must have, and nothing more.

installgem install micromachine
Authors

Michel Martens

110,551 total downloads 70,601 for this version
Owners

A18d75bcb4dc90c5944e48aa3ef7441a

Gemfile
gem 'micromachine', '~> 1.1.0'
Versions
  1. 1.1.0 August 8, 2013 (7 KB)
  2. 1.0.4 May 15, 2012 (6 KB)
  3. 1.0.3 April 16, 2012 (6 KB)
  4. 1.0.2 March 30, 2012 (6 KB)
  5. 1.0.1 March 29, 2012 (6 KB)
Show all versions (12 total)
Development Dependencies
  1. contest >= 0