From: Run Paint Run Run Date: 2010-08-13T02:10:46+09:00 Subject: [ruby-core:31697] [Backport #3680] Splatting calls to_ary instead of to_a in some cases Issue #3680 has been updated by Run Paint Run Run. I don't have a 1.9.1 installed ATM, but on trunk/1.9.3 the following does indeed call #to_a. (#respond_to? isn't used in this case, no pun intended). class C def to_ary; p :ary; [:ary]; end def to_a; p :a; [:a]; end end case when *C.new end run@paint:/tmp ��� ruby -v x.rb ruby 1.9.3dev (2010-06-05 trunk 28178) [i686-linux] :a ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3680 ---------------------------------------- http://redmine.ruby-lang.org