From: Kent Dahl Date: 2001-11-28T22:52:50+09:00 Subject: [ruby-talk:26786] Re: overload possible? Masanori Fujita wrote: > is it possible to define Ruby methods with the same names but different > number of arguments (overload concept in other languages) ? Not in the language itself, you'll have to do the dispatch inside your method yourself. There have been some posts earlier on various ways of doing this (and doing type based overloading too), but basically they just help you doing the dispatch easier, they don't add overloading to the language. -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/