Class: Rails::Queue::SynchronousQueue
- Defined in:
- lib/rails/queue/queue.rb
Instance Attribute Summary
Attributes inherited from Queue
Instance Method Summary collapse
- #push(job) ⇒ Object (also: #<<, #enq)
Methods inherited from Queue
Constructor Details
This class inherits a constructor from Rails::Queue::Queue
Instance Method Details
#push(job) ⇒ Object Also known as: <<, enq
33 34 35 |
# File 'lib/rails/queue/queue.rb', line 33 def push(job) super.tap { drain } end |