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 226 226: def initialize(scheduler, t, params) 227: @parent = params[:parent] 228: super 229: end
# File lib/rufus/sc/jobs.rb, line 233 233: def determine_at 234: 235: iin = @t.is_a?(Fixnum) || @t.is_a?(Float) ? 236: @t : Rufus.parse_duration_string(@t) 237: 238: @at = (Time.now + iin).to_f 239: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.