From: Trans Date: 2007-01-23T09:48:05+09:00 Subject: Re: Problems with super Vijay Nyayapati wrote: > Hi, > > I have been struggling to get super to work. > > I have a class A which inherits from Test::Unit::UI::Console::TestRunner > > class A has a method 'start' which is trying to override the 'start' > method from the TestRunner class. > > so my derived class looks like > > require 'test::unit::ui::console::testrunner' > > class A < Test::Unit::UI::Console::TestRunner > def start > super > # some code here > end > end Try.... class Test::Unit::UI::Console::TestRunner alias super_start start def start super_super # some code here end T.