From: Stefan Rusterholz Date: 2007-02-13T16:54:14+09:00 Subject: Re: "super" bug Larry Edelstein wrote: > Hi all - > > I misused the "super" keyword and I think I should have received an > error, but didn't. > > I tried "super.my_method_name(..)" and got strange results. OK, fine, > I'm supposed to say "super(..)" or just "super". But shouldn't I get a > compilation error or something? Is the behavior of > "super.my_method_name(..)" even defined? > > -larry as "a" already pointed out, super is a method call. I'd like to add, that super and super() differ, super without parens calls the same method in the parent class with all parameters passed to the current method. my regards -- Posted via http://www.ruby-forum.com/.