From: Juergen Katins Date: 2002-06-20T16:47:46+09:00 Subject: Re: can super call a method multiple classes higher in the hierarchy? "Ian Macdonald" schrieb : > Am I right in thinking that if I call super from method foo in class > Bar, it does not matter that no identically named method is defined in > Bar's parent class, just as long as an identically named method _is_ > defined in the grandparent or an even further removed ancestor class > of Bar? > > It seems to work that way, but I don't remember reading that > explicitly in the pickaxe book. Look at the paragraph atop of this link: http://home.vr-web.de/juergen.katins/ruby/book/tut_classes.html#Message!send ing saying: "The answer has to do with the way Ruby determines which method should be called when ..." A similar problem is described there. Juergen Katins