Method: Conductor::ActionController#conductor

Defined in:
lib/conductor/integrations/action_controller.rb

#conductor(handle = nil) ⇒ Object



33
34
35
36
37
# File 'lib/conductor/integrations/action_controller.rb', line 33

def conductor(handle=nil)
  @action_runner ||= {}
  @action_runner[handle] ||=
    ActionRunner.new( controller: self, conductors: conductors.with_handle(handle))
end