Class: Queuel::Null::Queue

Inherits:
Base::Queue show all
Defined in:
lib/queuel/null/queue.rb

Instance Method Summary collapse

Methods inherited from Base::Queue

#initialize, #max_pool_tasks, #receive, #size

Methods included from Introspect

#const_with_nesting, #module_names

Constructor Details

This class inherits a constructor from Queuel::Base::Queue

Instance Method Details

#peek(options = {}) ⇒ Object



5
6
7
# File 'lib/queuel/null/queue.rb', line 5

def peek(options = {})
  []
end

#pop(options = {}, &block) ⇒ Object

Nullify



13
14
# File 'lib/queuel/null/queue.rb', line 13

def pop(options = {}, &block)
end

#push(message, options = {}) ⇒ Object



9
10
# File 'lib/queuel/null/queue.rb', line 9

def push(message, options = {})
end