Method: Containers::Queue#each
- Defined in:
- lib/containers/queue.rb
#each(&block) ⇒ Object
Iterate over the Queue in FIFO order.
64 65 66 |
# File 'lib/containers/queue.rb', line 64 def each(&block) @container.each_forward(&block) end |