Module: FSM

Defined in:
lib/fsm.rb,
lib/fsm-0.0.0.rb,
lib/fsm-0.0.0/dsl.rb,
lib/fsm-0.0.0/fsm.rb,
lib/fsm-0.0.0/util.rb,
lib/fsm-0.0.0/event.rb,
lib/fsm-0.0.0/system.rb,
lib/fsm-0.0.0/observer.rb

Defined Under Namespace

Modules: Util Classes: Event, FSM, GenericDSL, Observer, System

Constant Summary collapse

LIBNAME =
'fsm'
VERSION =
'0.0.0'
LIBVER =
"#{ FSM::LIBNAME }-#{ FSM::VERSION }"
DIRNAME =
File::dirname(File::expand_path(__FILE__)) + File::SEPARATOR
ROOTDIR =
File::dirname(FSM::DIRNAME)
LIBDIR =
File::dirname(File::expand_path(__FILE__)) + File::SEPARATOR
INCDIR =
File::dirname(FSM::LIBDIR) + File::SEPARATOR
DISPLAY_CMD =
ENV['FSM_DISPLAY_CMD'] || 'display'
DOT_CMD =
ENV['FSM_DOT_CMD'] || 'dot'

Class Method Summary collapse

Class Method Details

.new(*a, &b) ⇒ Object


59
# File 'lib/fsm.rb', line 59

def self.new(*a, &b) FSM.new(*a, &b) end

.system(*a, &b) ⇒ Object


60
# File 'lib/fsm.rb', line 60

def self.system(*a, &b) System.new(*a, &b) end