On 7/11/06, transfire / gmail.com <transfire / gmail.com> wrote:
>
> Sean O'Halpin wrote:
>
> >
> > This might do what you want:
>> [snip code]
>
> Execpt now you've just changed A which could break anything else using
> it.
>

Indeed - but isn't that what Jonas wanted?

module A
  include B
end

with B overriding A?

However, this could well have unwanted side-effects on other classes
which expect A's behaviour. Caveat preemptor...

Regards,
Sean