On Mon, Aug 29, 2011 at 6:34 PM, [email protected]
<[email protected]> wrote:
> On Monday, August 29, 2011 11:59:56 AM UTC+1, Daniel Schierbeck wrote:
>>
>> 3. `*args` contraction (we must build an array that is just GC'd)
>> 4. Splatting the args back to the `__send__`
>>
> In fear of overcomplicating this functionality.
> You could avoid splatting in cases where you dont need it, via an extension
> of the api
>   delegate :to_s, :to => :something, :arity => 0
> where specifying an explicit arity, would do what you expect.
> This would involve a more complicated, multiple version approach to this
> functionality.

As you say, this would complicate things quite a bit. What happens
when the specified arity is wrong?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to