Ruby Language Queue

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Syntax

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


Got any Ruby Language Question?