.bundle/ruby/2.0.0/gems/timers-1.1.0/lib/timers.rb
# Fire all timers that are ready
Fire all timers that are ready
Fire all timers that are ready
def fire(now = Time.now)
    time = now + 0.001 
    while (timer = @timers.first) && (time >= timer.time)
      @timers.delete timer
      timer.fire(now)
    end
  end
def fire ( now = Time . now ) time = now + 0.001 while ( timer = @timers . first ) && ( time >= timer . time ) @timers . delete timer timer . fire ( now ) end end
Fire all timers that are ready
Fire all timers that are ready
# Fudge 1ms in case of clock imprecision
now