From: Robert Klemme Date: 2003-11-18T23:02:21+09:00 Subject: Re: Yet Another Rite Thought: method combination "ts" schrieb im Newsbeitrag news:200311181213.hAICDQI23532@moulon.inra.fr... > >>>>> "R" == Robert Klemme writes: > > R> Exactly. That's why I think "super" is inappropriate here. > > Can you give me an example with 2 classes (inheritance + wrappers) ? No need for two classes. class Foo def bar puts "bar" end def bar:wrap puts "pre" # invocation of bar here, no super class method involved, # hence "super" is inappropriate IMHO super puts "post" end end Cheers robert