From: Bulat Ziganshin Date: 2002-09-26T18:55:06+09:00 Subject: Re: adding overload to ruby Hello Justin, Thursday, September 26, 2002, 1:44:47 PM, you wrote: >> in the same way as does overload.rb - auto-creating typeless >> dispatcher JJ> Could you explain this a little more please? def a(String x) end def a(Array y) end translated into: def a1(x) end def a2(y) end def a(z) case z when String then a1(z) when Array then a2(z) end end -- Best regards, Bulat mailto:bulatz@integ.ru