From: Stefan Rusterholz Date: 2007-08-18T20:47:56+09:00 Subject: Re: How do you print the first 5 records in an array? David A. Black wrote: > Hi -- > > On Sat, 18 Aug 2007, Stefan Rusterholz wrote: > >> >> puts(*@people.first(5)) >> Ruby, so surprisingly unsurprising :) > > I don't think you need the * there. > > > David Darn, and just when you say it is unsurprising you hit a surprising thing. Right, I keep forgetting that puts treats Arrays differently than every other object. Thanks for pointing out :) Regards Stefan -- Posted via http://www.ruby-forum.com/.