Sha256: 2f7e099a857aab5ac0875bf96f2f6921e27c1c2e8ac0dfefc59ed28d4487777a

Contents?: true

Size: 173 Bytes

Versions: 764

Compression:

Stored size: 173 Bytes

Contents

module Puppet::Scheduler
  class Timer
    def wait_for(seconds)
      if seconds > 0
        sleep(seconds)
      end
    end

    def now
      Time.now
    end
  end
end

Version data entries

764 entries across 764 versions & 3 rubygems

Version Path
puppet-7.34.0 lib/puppet/scheduler/timer.rb
puppet-7.34.0-x86-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.34.0-x64-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.34.0-universal-darwin lib/puppet/scheduler/timer.rb
puppet-7.33.0 lib/puppet/scheduler/timer.rb
puppet-7.33.0-x86-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.33.0-x64-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.33.0-universal-darwin lib/puppet/scheduler/timer.rb
puppet-7.32.1 lib/puppet/scheduler/timer.rb
puppet-7.32.1-x86-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.32.1-x64-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.32.1-universal-darwin lib/puppet/scheduler/timer.rb
puppet-7.31.0 lib/puppet/scheduler/timer.rb
puppet-7.31.0-x86-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.31.0-x64-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.31.0-universal-darwin lib/puppet/scheduler/timer.rb
puppet-7.30.0 lib/puppet/scheduler/timer.rb
puppet-7.30.0-x86-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.30.0-x64-mingw32 lib/puppet/scheduler/timer.rb
puppet-7.30.0-universal-darwin lib/puppet/scheduler/timer.rb