christophe.poucet / gmail.com wrote:
> You are correct, which is rather odd as I would think that the
> teardown defined in Child would override the teardown defined in Foo.
>
> Well I guess the submitted code is pointless :/
>
> Thanks for the suggestion, robert.

You're welcome!  As an additional hint to an explanation you can look at the 
inheritance chain by invoking #ancestors:

$ ruby -e 'module Mod end; class Base; end; class Derived < Base; include 
Mod end; p Derived.ancestors'
[Derived, Mod, Base, Object, Kernel]

That's exactly the line along which super works.

Kind regards

    robert