Class: Roby::TaskStateHelper::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/roby/coordination/task_state_machine.rb

Overview

Proxy object used in the definition of state machines on Roby::Task

Class Method Summary collapse

Class Method Details

.state_machine(*args, &block) ⇒ Object



196
197
198
# File 'lib/roby/coordination/task_state_machine.rb', line 196

def self.state_machine(*args, &block)
    StateMachine::Machine.find_or_create(self, *args, &block)
end