Method: EventMachine::Queue#initialize
- Defined in:
- lib/em/queue.rb
#initialize ⇒ Queue
Returns a new instance of Queue.
19 20 21 22 23 |
# File 'lib/em/queue.rb', line 19 def initialize @sink = [] @drain = [] @popq = [] end |
Returns a new instance of Queue.
19 20 21 22 23 |
# File 'lib/em/queue.rb', line 19 def initialize @sink = [] @drain = [] @popq = [] end |