Class: RQ::Job

Inherits:
Object
  • Object
show all
Defined in:
lib/rq-0.1.7/job.rb

Defined Under Namespace

Modules: Methods

Class Method Summary collapse

Class Method Details

.new(*a, &b) ⇒ Object

{{{



35
36
37
38
39
40
41
42
43
# File 'lib/rq-0.1.7/job.rb', line 35

def new(*a, &b)
#{{{
  t = QDB::tuple
  kvs = Util::hashify(*a)
  kvs.each{|k,v| t[k] = v}
  t.extend Methods
  t
#}}}
end