From: gwtmp01@... Date: 2006-10-20T07:35:28+09:00 Subject: Re: Array#to_s in Ruby 1.9 Head On Oct 19, 2006, at 6:05 PM, Gavin Kistner wrote: > From: gwtmp01@mac.com [mailto:gwtmp01@mac.com] >> Mauricio Fernandez writes in http://eigenclass.org/hiki.rb?Changes+in >> +Ruby+1.9+update+5 >> that Ruby 1.9 Head has changed Array#to_s to be an alias for >> Array#to_inspect. >> >> What is the motivation for that change? >> print a >> becomes >> a.each { |x| print x } > > Or (easier): > print a.join('') Sure. But both solutions fail with nested arrays. I still prefer the 1.8 default behavior. Gary Wright