Viktor Kojouharov wrote:
> Ken, wouldn't Enumerable.addMethods be just a wrapper around
> Class.addMethods? Like Class.addMethods(Enumerable, methods)
No because Enumerable is not a class, it is a mixin or collection of 
methods.  Adding methods to or extending the Enumerable mixin leaves 
Hash.prototype and Array.prototype without those methods.

I am interested to see kangax's late-bound mixin implementation.  That 
sounds like multiple inheritance to me :)

- Ken

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to