Method: Resque#size

Defined in:
lib/resque.rb

#size(queue) ⇒ Object

Returns an integer representing the size of a queue. Queue name should be a string.



283
284
285
# File 'lib/resque.rb', line 283

def size(queue)
  data_store.queue_size(queue)
end