lib/pigeon/scheduler.rb
def add(*tasks)
    tasks.flatten.each do |task|
      enqueue_task(task)
    end
  end
# Adds one or more tasks to the schedule, where the tasks can be provided
# individually, as a list, or as an array.
Adds one or more tasks to the schedule, where the tasks can be provided
individually, as a list, or as an array.
Adds one or more tasks to the schedule where the tasks can be provided individually as a list or as an array .
def add(*tasks)
    tasks.flatten.each do |task|
      enqueue_task(task)
    end
  end
def add ( * tasks ) tasks . flatten . each do | task | enqueue_task ( task ) end end
Adds one or more tasks to the schedule, where the tasks can be provided
individually, as a list, or as an array.
Adds one or more tasks to the schedule where the tasks can be provided individually as a list or as an array .
tasks