class Rufus::Scheduler

def schedule_in (duration, params={}, &block)


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 stating in how much time it should trigger.
def schedule_in (duration, params={}, &block)
    do_schedule_at(
        Time.new.to_f + duration_to_f(duration),
        prepare_params(params),
        &block)
end