State machines in Ruby

What’s the best way to represent a state machine in Ruby? I’m not
concerned with performance, just simplicity.

AASM - State machines for Ruby classes

I’m just about to release a new state machine library. Give me a few
more hours since I have a ton of other releases in the queue today. It
will land somewhere here:

http://github.com/binary42/ruby-fsm/tree/master

It has a much improved API and many more features. Sorry to hype
vaporware but it will be coming soon.

Brian.