From: Robert Klemme Date: 2008-11-01T19:13:53+09:00 Subject: Re: Data Structs in Ruby On 31.10.2008 22:27, Bilyk, Alex wrote: > Array can act as a stack as it has #pop and #last. It even has #push. > It can also act as a queue as it also has #first and #shift. You can use #push and #shift or #unshift and #pop for queue behavior. Plus there is Queue as Brian mentioned. Cheers robert