Class: CEML::Queue
- Inherits:
-
Object
- Object
- CEML::Queue
- Includes:
- Redis::Objects
- Defined in:
- lib/ceml/models/queue.rb
Instance Method Summary collapse
Instance Method Details
#id ⇒ Object
3 |
# File 'lib/ceml/models/queue.rb', line 3 def id; 'ceml_q'; end |
#run(klass) ⇒ Object
7 8 9 10 |
# File 'lib/ceml/models/queue.rb', line 7 def run(klass) p = klass.new while call = calls.shift; p.send(*call); end end |