Method: Async::Queue#initialize
- Defined in:
- lib/async/queue.rb
#initialize ⇒ Queue
Returns a new instance of Queue.
26 27 28 29 30 |
# File 'lib/async/queue.rb', line 26 def initialize super @items = [] end |
Returns a new instance of Queue.
26 27 28 29 30 |
# File 'lib/async/queue.rb', line 26 def initialize super @items = [] end |