# File lib/puppet/util/watcher/timer.rb, line 12 def expired? (now - @start_time) >= @timeout end
# File lib/puppet/util/watcher/timer.rb, line 16 def now Time.now.to_i end
# File lib/puppet/util/watcher/timer.rb, line 8 def start @start_time = now end
# File lib/puppet/util/watcher/timer.rb, line 4 def initialize(timeout) @timeout = timeout end