From: Glenn Jackman Date: 2009-10-14T22:55:26+09:00 Subject: Re: converting object into array At 2009-10-14 07:52AM, "Paul Smith" wrote: > > class User > def to_array > [] << @name << @age << @sex > end > end Curious: why that construct instead of: def to_array [@name, @age, @sex] end ? -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous