lib/multi_process/group.rb in multi_process-0.5.0 vs lib/multi_process/group.rb in multi_process-0.5.1
- old
+ new
@@ -33,11 +33,11 @@
#
# If group was already started added processes will also be started.
#
# @param process [Process, Array<Process>] New process or processes.
#
- def <<(processes)
- Array(processes).flatten.each do |process|
+ def <<(procs)
+ Array(procs).flatten.each do |process|
processes << process
process.receiver = receiver
start process if started?
end