class Rufus::Scheduler

def schedule_at (at, params={}, &block)



And 'jobid' will hold a nil (not scheduled).

end
puts "you'll never read this message"
jobid = scheduler.schedule_at(yesterday, :discard_past => true) do

true :
To avoid the triggering, the parameter :discard_past may be set to
but not scheduled.
If the job is specified in the past, it will be triggered immediately

the job.
This method returns a job identifier which can be used to unschedule()

Returns the a job_id that can be used to unschedule the job.
Schedules a job by specifying at which time it should trigger.
def schedule_at (at, params={}, &block)
  do_schedule_at(
    at,
    prepare_params(params),
    &block)
end