From: Geoff Stanley Date: 2006-04-27T10:26:24+09:00 Subject: Re: Extending Methods James Gray wrote: > Can you please explain why inheritance and super are bad here? They > seem like the perfect solution to me. I don't want to use inheritence and super because that would mean each plugin would create its own child class of the base class it wants to modify. This causes two problems: 1) The child classes wouldn't do anything; They'd have to be hooked into the main program somehow... troublesome and 2) The child classes wouldn't work together. If I have two plugins modifying the same method in the same base class, they both need to be able to modify it, not one overruling the other. -- Posted via http://www.ruby-forum.com/.