Feature #2617: Array#to_s behavior different on 1.8.7 and 1.9.1
http://redmine.ruby-lang.org/issues/show/2617

Author: robert gleeson
Status: Open, Priority: Low
Category: core

# 1.9.1 patch level 378
irb(main):005:0> [1,2,3].to_s
=> "[1, 2, 3]"

# 1.8.7 patch level 248
irb(main):001:0> [1,2,3].to_s
=> "123"

I personally prefer the behavior that 1.8.7 has, but it'd be nice if 18 and 19 behaved the same way :-)


----------------------------------------
http://redmine.ruby-lang.org