From: ts Date: 2002-09-20T16:40:51+09:00 Subject: Re: Is better to subclass or to add methods to an existing class? >>>>> "C" == Christoph writes: C> Maybe this is also a good time to mention that the ``problems'' C> you foresaw when playing around with your own overloading C> implementation was imo caused by the fact that you allowed C> modules (such as Enumerable) as (multi-)method signature types. No, no. I've just added modules to kill it :-) Another example, what do you expect with ? ruby -e 'class A < Array; end; a = A.new; b = A.new; p ((a+b).type)' Guy Decoux