From: dblack@... Date: 2006-10-12T01:59:46+09:00 Subject: Re: [ruby-cvs:18323] ruby: * eval.c (splat_value): use "to_splat" instead of "to_ary" to Hi -- On Thu, 12 Oct 2006, Rick DeNatale wrote: > On 10/10/06, Yukihiro Matsumoto wrote: >> 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 22:36:44 +0900, "Rick DeNatale" >> writes: >> >> |> It was *a value* before conversion. >> | >> |Yes, but the proposal is not to_value but to_values which might be >> |subtle but is a crucial distinction. >> >> to_values converts a value to values (actually, an array represents >> values). What is the problem? It's the * that really converts it, though. The pre-star method is really a sibling method of to_a[ry], isn't it? David -- David A. Black | dblack@wobblini.net Author of "Ruby for Rails" [1] | Ruby/Rails training & consultancy [3] DABlog (DAB's Weblog) [2] | Co-director, Ruby Central, Inc. [4] [1] http://www.manning.com/black | [3] http://www.rubypowerandlight.com [2] http://dablog.rubypal.com | [4] http://www.rubycentral.org