Module: Worker

Defined in:
lib/worker.rb,
lib/worker/job.rb,
lib/worker/queue.rb,
lib/worker/version.rb

Defined Under Namespace

Classes: Job, Queue

Constant Summary collapse

VERSION =
"0.1.3"

Class Attribute Summary collapse

Class Attribute Details

.dbObject

Returns the value of attribute db


8
9
10
# File 'lib/worker.rb', line 8

def db
  @db
end

.loggerObject

Returns the value of attribute logger


8
9
10
# File 'lib/worker.rb', line 8

def logger
  @logger
end

.queueObject

Returns the value of attribute queue


8
9
10
# File 'lib/worker.rb', line 8

def queue
  @queue
end