Essential Ruby
Queue
suggest change
Syntax
q = Queue.new
q.push object
q << object # same as #push
q.pop #=> object
Found a mistake? Have a question or improvement idea?
Let me know
.
Feedback about page:
Feedback:
Optional: your email if you want me to get back to you:
Send Feedback
Cancel
Table Of Contents