public
Created

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5
Queue::Normal.enqueue(some_object, :some_method, { 'some_arg' => 1, 'some_other_arg' => 2 })
 
Queue::High.enqueue(some_object, :some_really_imporant_method, { 'some_arg' => 1, 'some_other_arg' => 2 })
 
Queue::Low.enqueue(some_object, :some_method_that_can_take_its_time, { 'some_arg' => 1, 'some_other_arg' => 2 })

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.