From: Farrel Lifson Date: 2007-06-12T18:27:59+09:00 Subject: Re: add element at end of array On 12/06/07, Daniel Liebig wrote: > I just want to add a new value / object to an existing array. Right now > i'm using > > a[a.length] = 'foo' > > but i'm almost sure Ruby has a better way to do that!? a << 'foo' Farrel