Rick Carlino

Lead software developer and co-founding member @ Farmbot, Inc.

Co-founder @ Fox.Build Makerspace, St. Charles, IL.

Reddit Twitter GitHub LinkedIn Stack Overflow Email Updates

Bravery: My Micro State Machine Library for Ruby.

December 22 2013

I needed a dirt simple state machine that was flexible enough to meet the needs of some very ‘edge’ requirements in a project I recently worked on. I found that most of
the Ruby state machines out there were making too many assumptions for the level of flexibility I needed. This weekend I wrote a small gem called
Bravery.

It’s only ~55 lines of Ruby and it:

Check it out on Github.

(C) 2017 Rick Carlino