Method: Magistrate::Supervisor#start

Defined in:
lib/magistrate/supervisor.rb

#start(params = nil) ⇒ Object



61
62
63
64
65
66
67
# File 'lib/magistrate/supervisor.rb', line 61

def start(params = nil)
  worker = params
  log "Starting: #{worker}"
  @workers[worker.to_sym].supervise!
  
  # Save that we've requested this to be started
end