Pushing Data into a Queue - push
suggest changeq = Queue.new
q << "any object including another queue"
# or
q.push :data
- There is no high water mark, queues can infinitely grow.
#push
never blocks
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents