Namespace

Methods

UbiquoWorker

Public Class Methods

init(name, options = {}) click to toggle source

initializes a worker identified by name possible options are:

  :sleep_time => interval time to look for new jobs (float, default 5.0)
    # File vendor/plugins/ubiquo_jobs/lib/ubiquo_worker.rb, line 8
 8:   def self.init(name, options = {})
 9:     default_options = {
10:       :sleep_time => 5.0
11:     }
12:     worker = Worker.new(name, default_options.merge(options))
13:     worker.run!
14:   end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.