RubyGems.org

'State' Design Pattern from the Gang of Four book. Many other state machines focus on events and transitions. This state machine focuses on behavior and reducing conditional logic.

installgem install state_objects
Authors

Mark Windholtz

3,518 total downloads 138 for this version
Owners

838857ba38a377b39d1b5693bd0b8021

Gemfile
gem 'state_objects', '~> 0.9.0'
Versions
  1. 0.9.0 February 27, 2014 (10.5 KB)
  2. 0.0.8 December 9, 2012 (9.5 KB)
  3. 0.0.7 December 7, 2012 (8.5 KB)
  4. 0.0.6 December 7, 2012 (8.5 KB)
  5. 0.0.4 November 14, 2012 (8.5 KB)
Show all versions (8 total)
Runtime Dependencies
  1. activerecord >= 0
Development Dependencies
  1. rspec-given >= 0
  2. supermodel >= 0