On Monday 27 September 2004 12:45 pm, Jamis Buck wrote:
> Well, it's not very pretty, but what about:
>
> 1) aliasing all methods of the subclass to something else (mangling
> them, basically),

You're right. And it's this first step that's just too ugly to be acceptable 
to me.

> 2) Using "method_missing" to intercept and redirect calls to those methods,
>
> 3) and using "self.class.instance_methods(false).include?(...)" to
> determine whether the method was defined in the subclass or a superclass...
>
> If this isn't clear enough (and it may very well not be!) I could try
> posting some pseudo-code...

It's clear and it's certainly a solution --but not the "less filling" one I'm 
really after.

T.