From: Yukihiro Matsumoto Date: 2006-10-10T08:14:22+09:00 Subject: Re: [ruby-cvs:18323] ruby: * eval.c (splat_value): use "to_splat" instead of "to_ary" to Hi, In message "Re: [ruby-cvs:18323] ruby: * eval.c (splat_value): use "to_splat" instead of "to_ary" to" on Tue, 10 Oct 2006 07:28:39 +0900, James Edward Gray II writes: |Is there any where they can be used that aren't arguments lists? I |guess we do allow then in when conditions for case statements, right? Currently splat is used for every unary * except for * in right hand side of multi-assignment (this has no big reason; just a subtle implementation issue I just found) for function arguments, array expression, values in when clause, and exception list in rescue. |I think I still favor to_args, but I like your to_values too. Both |are better than to_splat, I think. ;) Thank you. matz.