From: David Colque Date: 2008-08-29T05:19:42+09:00 Subject: Re: Access to method in superclass Thomas B. wrote: > Hello. > > It's a gotcha in Ruby - there's NO WAY to access ancestor's method > setSpeed from your own method accelerate. As you see, the word super > itself is a call to ancestor's method of the same name as the method you > are currently in. And there's no other use of super, so you cannot call > ancestor's (overridden) method of a different name than the method > you're actually in. > > AFAIK they say that you shouldn't need to. If you do, you can refactor > your code and it will be a good thing to do. > > TPR. Thank you very much. Then continuous learning … -- Posted via http://www.ruby-forum.com/.