From: "R. Kumar" Date: 2010-01-31T23:40:26+09:00 Subject: Re: Inheritance related problem Ian Hobson wrote: > Hi, > > I'm going to give you a meta-answer to the problem... > > If the two printb routines do the same thing, then child printb is > redundant. Remove it. > > If they do different things, then they should have different names - > problem avoided. > > I don't know enough ruby to answer your specific problem. > > Regards > > Ian They need to have the same name since Child extends the functionality of Parent. Both classes will be used in the same situation. That's why Child extends Parent. -- Posted via http://www.ruby-forum.com/.