From: James Britt Date: 2006-01-03T06:43:34+09:00 Subject: Re: New to Ruby and Programming 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? Maybe. It certainly struck me as counter-intuitive. I would think it would print the results of myarry.to_s or myarry.to_str. How (and why) did a call to an iterator get in there? James -- http://www.ruby-doc.org - Ruby Help & Documentation http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://www.jamesbritt.com - Playing with Better Toys http://www.30secondrule.com - Building Better Tools