[LRUG] Can't hide instance method if defined in native extension?
Andrew Stewart
boss at airbladesoftware.com
Mon Nov 14 00:08:18 PST 2011
On 14 Nov 2011, at 01:00, Peter Vrabel wrote:
> I recently read an article about Ruby method lookup and I got it wrong. I do understand it now, thanks for your help.
> Ancestors method is quite handy in situations like this.
Here's a (slightly obscure) technique for overriding a method with a mixin:
http://airbladesoftware.com/notes/note-to-self-overriding-a-method-with-a-mixin
Yours,
Andy Stewart
-------
http://airbladesoftware.com
More information about the Chat
mailing list