From: Run Paint Run Run Date: 2010-08-13T04:14:26+09:00 Subject: [ruby-core:31700] [Backport #3680] Splatting calls to_ary instead of to_a in some cases Issue #3680 has been updated by Run Paint Run Run. > OK, so this seems to be fixed. I haven't found more recent binaries for Windows > than 1.9.1 so I can't test that. > So you're saying when *expr doesn't call respond_to? in 1.9.3? That looks like > a bug unless splatting operations in general don't call respond_to? anymore in > 1.9.1. They do in 1.9.1. They don't in general. The object is sent #to_a, if it responds--either because it defines a method by that name or #method_missing--the return value is splatted; otherwise [self] is used. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3680 ---------------------------------------- http://redmine.ruby-lang.org