From: tim Date: 2004-02-09T15:58:53+09:00 Subject: running a class from the base class Hi I have examined the test object from the test unit stuff and i cannot work out how the base class executes the main test object... i want to efectively do the same thing. Can anybody give me some tips on how to do this. Effectively i want to: class SpecificArchitecture << BaseArchitecture def main(args) .... end end And when the file is run it just figures out how to make the object and call into main. I currently have a number of derived classes that all have something like: begin xx = SpecificArchitecture.new() xx.main(ARGV) end at the end. Which i would like to remove. thanks Tim