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. 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/uygkiZdUgPkJ.
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