Module: QuSpec::SchedulerExtension
- Defined in:
- lib/qu-spec/scheduler.rb
Instance Method Summary collapse
- #enqueue_at(time, klass, *args) ⇒ Object
- #enqueue_in(time, klass, *args) ⇒ Object
- #remove_delayed(klass, *args) ⇒ Object
Instance Method Details
#enqueue_at(time, klass, *args) ⇒ Object
3 4 5 |
# File 'lib/qu-spec/scheduler.rb', line 3 def enqueue_at(time, klass, *args) QuSpec.enqueue_at(time, klass, *args) end |
#enqueue_in(time, klass, *args) ⇒ Object
7 8 9 |
# File 'lib/qu-spec/scheduler.rb', line 7 def enqueue_in(time, klass, *args) QuSpec.enqueue_in(time, klass, *args) end |
#remove_delayed(klass, *args) ⇒ Object
11 12 13 |
# File 'lib/qu-spec/scheduler.rb', line 11 def remove_delayed(klass, *args) QuSpec.remove_delayed(klass, *args) end |