From: Robert Klemme Date: 2010-03-01T23:56:10+09:00 Subject: Re: Array#join using to_a if defined 2010/3/1 Benoit Daloze : > So this would be only 1.9.2 behavior, but why on world this changed? It has > such bad side-effect in this case. Maybe #flatten's functionality was extended to also include objects that implement to_a because to_a has been removed from Object in 1.9... > Also, while playing with Array, using Array#&, I saw it look on #eql? and > #hash methods. These two methods are relative to Hash usually, I didn't > expect methods of Array to depends of them. Learn something new every day. ;-) Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/