From: Yusuke Endoh Date: 2010-04-14T21:11:35+09:00 Subject: [ruby-core:29509] [Bug #1393] Multiple assignment does not call to_a but to_ary Issue #1393 has been updated by Yusuke Endoh. Priority changed from Normal to High Hi, Matz Could you please answer this ticket? > For example, if x is not an array, "y = *x" tries to call x.to_a. > However, in multiple assignments, it does not try to call to_a but to_ary. > For example, "*y = x" tries to call x.to_ary. This is philosophical, but really significant bug against convention of Ruby's type conversion, I think. I can't ignore this without your response. -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1393 ---------------------------------------- http://redmine.ruby-lang.org