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.

Required Ruby Version

>= 0

Authors

Michel Martens

Versions

  1. 3.0.0
    1. source

      1. 3.0.0 source August 20, 2017 (9.5 KB)
  2. 2.1.0
    1. source

      1. 2.1.0 source July 07, 2017 (9 KB)
  3. 2.0.0
    1. source

      1. 2.0.0 source November 03, 2015 (8 KB)
  4. 1.2.0
    1. source

      1. 1.2.0 source March 03, 2015 (8 KB)
  5. 1.1.0
    1. source

      1. 1.1.0 source August 08, 2013 (7 KB)
Show all versions (16 total)

SHA 256 checksum