Method: Workflow::ClassMethods#workflow

Defined in:
lib/workflow.rb

#workflow(&specification) ⇒ Object



23
24
25
# File 'lib/workflow.rb', line 23

def workflow(&specification)
  assign_workflow Specification.new(Hash.new, &specification)
end