From: Conrad Schneiker Date: 2000-12-14T07:49:57+09:00 Subject: [ruby-talk:7177] Multiple constructors. Hi, Someone asked me the following question. Is there some clever way to deal with this? # When creating a class, is "initialize" the only form of constructor? # # Is it possible to define multiple constructors that have a different # set of input parameters? # # I suspect if I want to use variable input parameters to the # constructor I will have to pass an array (or reference) and then # test for the number and type of parameters and then initialize # accordingly. In otherwords do my own type matching on the parameter # list. # # Is that about right? Or am I making this way to complicated? Conrad Schneiker (This note is unofficial and subject to improvement without notice.)