Module: SimplyFSM

Defined in:
lib/simply_fsm/simply_fsm.rb,
lib/simply_fsm/version.rb

Overview

Include SimplyFSM in a class to be able to defined state machines.

Defined Under Namespace

Modules: ClassMethods Classes: StateMachine

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Provides a state_machine for the including class.



9
10
11
# File 'lib/simply_fsm/simply_fsm.rb', line 9

def self.included(base)
  base.extend(ClassMethods)
end