class Rufus::Scheduler::InJob

Job that occurs once, in a certain amount of time.

Protected Instance Methods

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

  iin = @t.is_a?(Fixnum) || @t.is_a?(Float) ?
    @t : Rufus.parse_duration_string(@t)

  @at = (Time.now + iin).to_f
end