Hi Cédric,

For futur enumerables, the Element.addMethods is what you need. See :

For past, you should use the same function but extend manually each
object created, because the object are already created with the vision
of extension defined at its creation time :((


On 24 sep, 12:26, Cédric Bertolini <bertolini.ced...@gmail.com> wrote:
> Hi there,
> I want to add a method to all my Enumerables, past, present and
> future. How can I do that?
> Thanks for your time!
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to