Subject: Re: puts, print, Array#to_s relative to ruby 1.8 and 1.9
From: Devin Mullins <twifkak comcast.net>
Date: Fri, 1 Dec 2006 14:19:43 +0900
References: 227426227438227443227444227540
In-reply-to: 227540
gwtmp01 / mac.com wrote:
> Maybe I'm missing something but I think to get the 1.8 Array#to_s
> behavior in 1.9 you would
> have to write something like:
> a.flatten.inject("") { |s,i| s << i.to_s }
a.flatten.join ?