# File lib/rufus/sc/jobqueues.rb, line 112 def job_to_trigger (now) @mutex.synchronize do if @jobs.size > 0 && now.to_f >= @jobs.first.at @jobs.shift else nil end end end