opnsense-ports/devel/rubygem-state_machine/pkg-descr
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

10 lines
480 B
Text

State machines make it simple to manage the behavior of a class.
Too often, the state of an object is kept by creating multiple
boolean attributes and deciding how to behave based on the values.
state_machine simplifies this design by introducing the various
parts of a real state machine, including states, events,
transitions, and callbacks. However, the api is designed to be
so simple you do not even need to know what a state machine is.
WWW: http://www.pluginaweek.org