Ruby LanguageQueue


Syntax

  • q = Queue.new
  • q.push object
  • q << object # same as #push
  • q.pop #=> object