Regarding private methods, I expressed my point of view in Jon's.

delegate is just a convenience method, a little utility that

1) saves the user from writing the delegation by hand
2) it is declarative, which is a plus in my view, intention is more clear

Since I can delegate to private methods, and delegate is just a macro,
I see no reason why it should impose any arbitrary restriction like
visibility. Conceptually.

That being said, if that was dropped for the benefit of performance,
I'd personally buy that. In order not to put a penalty on all calls,
you need to write your own wrappers for private methods. Sounds
reasonable to me.

-- 
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