From: Thomas Preymesser Date: 2008-02-02T00:10:28+09:00 Subject: Re: Problem: Array.to_s return [["..."]] in 1.9.0 ------=_Part_625_29977312.1201878636042 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 01/02/2008, Rk Ch wrote: > > I use Array.to_s convert to string. Ruby 1.9.0 return like [["sample > string"]], but 1.8.6 return only the value. > How to resolve this problem? I really don't want to revise so many lines > of code. :) you can define your own version of Array#to_s which emulates the behaviour of Ruby 1.8 class Array def to_s ...your code here... end end -Thomas ------=_Part_625_29977312.1201878636042--