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.
Required Ruby Version
None
Authors
Avdi Grimm
Versions
-
1.0.1
-
source
- 1.0.1 source August 04, 2009 (21.5 KB)
-
-
1.0.0
-
source
- 1.0.0 source November 28, 2008This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (25.5 KB)
-