RubyGems.org

alter-ego

1.0.1

AlterEgo is a Ruby implementation of the State pattern as described by the Gang of Four. It differs from other Ruby state machine libraries in that it focuses on providing polymorphic behavior based on object state. In effect, it makes it easy to give an object different personalities depending on the state it is in.

installgem install alter-ego
Authors

Avdi Grimm

8,422 total downloads 6,192 for this version
Owners

4dea430d31b993abaf41cd9b54f8128d

Gemfile
gem 'alter-ego', '~> 1.0.1'
Versions
  1. 1.0.1 July 19, 2009 (21.5 KB)
  2. 1.0.0 November 28, 2008 (25.5 KB)
Development Dependencies
  1. hoe >= 1.8.0
  2. newgem >= 1.3.0