class Rufus::Scheduler::SimpleJob

The base class of at/in/every jobs.

Attributes

at[R]

When the job is supposed to trigger

last[R]

Public Instance Methods

determine_at() click to toggle source
# File lib/rufus/sc/jobs.rb, line 204
def determine_at

  @at = Rufus.at_to_f(@t)
end
next_time() click to toggle source

Returns the next time (or the unique time) this job is meant to trigger

# File lib/rufus/sc/jobs.rb, line 211
def next_time

  Time.at(@at)
end