class Rspawn::RspawnWorker
Public Instance Methods
start(args)
click to toggle source
# File lib/rspawn/worker.rb, line 5 def start(args) command = args.first ENV['RSPAWN_INDEX'] = "#{@index}" exec(command) rescue Exception => e puts "error" end
stop()
click to toggle source
# File lib/rspawn/worker.rb, line 13 def stop end