I think this motivation can be summarized as: #prepend has use cases, in
particular for singleton classes.
I don't see this in AS. AS is defined as a fine balance:
* Ruby extensions key for Rails core development.
* Ruby extensions experience proves to be really really
helpful/common in web development.
Add to that a few rule exceptions due to historical reasons, and you get AS.
In that sense AS has a different goal than facets, say.
In this particular case, I don't see preextend fits into that definition,
and as you saw this is nothing but prepending in the singleton class.
I would use plain Ruby until the Ruby language defines something like this
itself.
--
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.