From: Chad Perrin Date: 2006-01-03T06:45:48+09:00 Subject: Re: New to Ruby and Programming On Tue, Jan 03, 2006 at 06:22:56AM +0900, dblack@wobblini.net wrote: > > On Tue, 3 Jan 2006, Hal Fulton wrote: > > > >Well, I'm quite wrong. I thought that 'puts myarray' would print > >on a single line with elements scrunched together. Maybe this > >was true in the past? > > I think what you're thinking of is array.to_s, which scrunches them > together. But puts array does a separate puts on each element. Maybe he was thinking of "print myarray". -- Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ] "A script is what you give the actors. A program is what you give the audience." - Larry Wall