Subject: Re: Interesting class
From: "christophe.poucet@ a . m < r t h p c @ a . m
Date: Wed, 21 Sep 2005 01:51:38 +0900
References: 156821156822
In-reply-to: 156822
Not if you have the following pattern:
class Base
def teardown
# do a
end
end
module Foo
def teardown
# do b
end
end
class Child < B
include Foo
def teardown
# call super and my own Foo.teardown somehow
# do c
end
end
Regards,
Christophe