Class: SimplerWorkflow::Workflow::DefaultEventHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/simpler_workflow/workflow.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(workflow) ⇒ DefaultEventHandler

Returns a new instance of DefaultEventHandler.



163
164
165
# File 'lib/simpler_workflow/workflow.rb', line 163

def initialize(workflow)
  @workflow = workflow
end

Instance Attribute Details

#workflowObject

Returns the value of attribute workflow.



161
162
163
# File 'lib/simpler_workflow/workflow.rb', line 161

def workflow
  @workflow
end

Instance Method Details

#call(*args) ⇒ Object



187
# File 'lib/simpler_workflow/workflow.rb', line 187

def call(*args); end

#domainObject



171
172
173
# File 'lib/simpler_workflow/workflow.rb', line 171

def domain
  workflow.domain
end

#initial_activity_typeObject



183
184
185
# File 'lib/simpler_workflow/workflow.rb', line 183

def initial_activity_type
  workflow.initial_activity_type
end

#last_activity(*args) ⇒ Object



175
176
177
# File 'lib/simpler_workflow/workflow.rb', line 175

def last_activity(*args)
  workflow.last_activity(*args)
end

#last_input(*args) ⇒ Object



179
180
181
# File 'lib/simpler_workflow/workflow.rb', line 179

def last_input(*args)
  workflow.last_input(*args)
end

#scheduled_event(*args) ⇒ Object



167
168
169
# File 'lib/simpler_workflow/workflow.rb', line 167

def scheduled_event(*args)
  workflow.scheduled_event(*args)
end