From: Justin Johnson Date: 2002-09-26T20:04:44+09:00 Subject: Re: adding overload to ruby This means that the dispatcher must find the _closest_ match rather than just using '==='. Doing multi dispatch does seem possible, but Matz seems to think it would be troublesome. IIRC, other people have shown concerns too. How would having this feature detriment the language? -- Justin Johnson "ts" wrote in message news:200209261045.g8QAjRG27127@moulon.inra.fr... > >>>>> "B" == Bulat Ziganshin writes: > > B> it will work. "Array === A.new" evaluates to true > > Yes, and in the case > > class A < Array; end > def a_method(Array a) end > def a_method(A a) end > > it's true for the 2 > > > Guy Decoux > > > >