Hi all,

I actually raised this as a PR (https://github.com/rails/rails/pull/14454)
but thought I would bring it up here anyway.

Summary:

Add an additional option :prefixing_with for delegate that allows prefixed
delegations to be declared whilst ensuring that they are
greppable/searchable using the name of the method they are defining i.e:

delegate :foo_bar, :prefixing_with => :foo

I can change the name of the option if it's bothering anyone.

Thoughts?

Cheers,
M

http://twitter.com/mikekelly85
http://github.com/mikekelly

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to