Method: RQ::JobQueue#attributes
- Defined in:
- lib/rq/jobqueue.rb
#attributes ⇒ Object
–}}}
941 942 943 944 945 946 947 948 |
# File 'lib/rq/jobqueue.rb', line 941 def attributes #--{{{ h = {} tuples = @qdb.execute "select * from attributes;" tuples.map!{|t| h[t['key']] = t['value']} h #--}}} end |