From: Anders Bengtsson Date: 2003-05-09T20:43:49+09:00 Subject: Re: methods with different signatures --- KONTRA Gergely wrote: > def doSomething(a:String) > ... > end > > def doSomething(a:Numeric) > ... > end You'll either have to use explicit kind_of?()-tests in the code, or use something like the "Double Dispatch" design pattern to solve that kind of problems. (Even though it would be kind of cool if we hade a feature like that). /Anders ===== __________________________________________________ Anders Bengtsson ndrsbngtssn@yahoo.se Stockholm, Sweden _____________________________________________________ G� f�re i k�n och f� din sajt v�rderad p� nolltid med Yahoo! Express Se mer p�: http://se.docs.yahoo.com/info/express/help/index.html