From: SonOfLilit Date: 2007-02-14T17:07:27+09:00 Subject: Re: Justification for Array#join behaviour? ------=_Part_82029_5724385.1171440442677 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I second that. On 2/14/07, Farrel Lifson wrote: > > What is the justification for [1,2,[3,4]].join(',') being '1,2,3,4' > instead of '1,2,34'? According to ruby-doc.org join "Returns a string > created by converting each element of the array to a string, separated > by sep.". Why should an element be recursively joined if it's also an > array? > > Farrel > > ------=_Part_82029_5724385.1171440442677--