Sha256: 19948a60f5c9f0aed45262c75c0e89d3f587a40e46c3b646e5c455a84d556aa5

Contents?: true

Size: 205 Bytes

Versions: 9

Compression:

Stored size: 205 Bytes

Contents

module Workers
  class PeriodicTimer < Workers::Timer
    def initialize(delay, options = {}, &block)
      options[:repeat] = true

      super(delay, options, &block)

      return nil
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
workers-0.3.0 lib/workers/periodic_timer.rb
workers-0.2.2 lib/workers/periodic_timer.rb
workers-0.2.1 lib/workers/periodic_timer.rb
workers-0.2.0 lib/workers/periodic_timer.rb
workers-0.1.4 lib/workers/periodic_timer.rb
workers-0.1.3 lib/workers/periodic_timer.rb
workers-0.1.2 lib/workers/periodic_timer.rb
workers-0.1.1 lib/workers/periodic_timer.rb
workers-0.1.0 lib/workers/periodic_timer.rb