Class: Que::Adapters::Pond
Instance Method Summary collapse
- #checkout(&block) ⇒ Object
-
#initialize(pond) ⇒ Pond
constructor
A new instance of Pond.
Methods inherited from Base
#cleanup!, #execute, #in_transaction?, #wake_worker_after_commit
Constructor Details
#initialize(pond) ⇒ Pond
Returns a new instance of Pond.
6 7 8 9 |
# File 'lib/que/adapters/pond.rb', line 6 def initialize(pond) @pond = pond super end |
Instance Method Details
#checkout(&block) ⇒ Object
11 12 13 |
# File 'lib/que/adapters/pond.rb', line 11 def checkout(&block) @pond.checkout(&block) end |