Rufus::Scheduler::SimpleJob
Job that occurs once, in a certain amount of time.
If this InJob is a timeout job, parent points to the job that is subject to the timeout.
# File lib/rufus/sc/jobs.rb, line 210 def initialize (scheduler, t, params) @parent = params[:parent] super end
# File lib/rufus/sc/jobs.rb, line 217 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
[Validate]
Generated with the Darkfish Rdoc Generator 2.