From: Philip Mateescu Date: 2002-06-04T05:44:08+09:00 Subject: Re: super bug or (most likely) I am doing something wrong ? Thank you Tobias and thank you Marko. However, what if I would want to call another method of its ancestor ? Something along the lines of : class Boo def say_what puts "boo what?" def def say_who puts "class Boo" end end class Foo < Boo def say_what # none of the following three work super.say_who # xor super().say_who # xor super.send :say_who # I do have an extra question (TIA) : why does it (Foo.new.say_what) still prints "boo what?" in all three cases ? Does it executes super (thus Boo#say_what) and then gets lots in which is the current object ? Thanks, philip ----- Original Message ----- From: "Tobias Reif" To: "ruby-talk ML" Sent: Monday, 03 June, 2002 9:48 PM Subject: Re: super bug or (most likely) I am doing something wrong ? > Philip Mateescu wrote: > > > - super.say_what > > + super > > Tobi > > -- > http://www.pinkjuice.com/