From: Yukihiro Matsumoto Date: 2006-10-20T13:57:06+09:00 Subject: Re: Array#to_s in Ruby 1.9 Head Hi, In message "Re: Array#to_s in Ruby 1.9 Head" on Fri, 20 Oct 2006 10:50:00 +0900, gwtmp01@mac.com writes: |Yeah, sure, there are lots of ways to work around it but why should |Array#to_s default to generating debugging output? That is what |Array#inspect is for, right? The official purpose of #to_s method is that returning string representation of the object. No more, no less. So it's up to our expectation for the string representation of the object. I changed the behavior to make string representation of arrays more distinguishable from other objects. I don't think to_s _SHOULD_ work as replacement of Array#join. But there may be another reason I missed to keep it compatible with 1.8. matz.