From: Alex Young Date: 2007-03-20T21:08:52+09:00 Subject: Re: does Ruby not support multiple "initialize" methods for a class??? Greg Hauptmann wrote: > Hi, > > Q1 - Does Ruby not support multiple "initialize" methods for a class? No. > Q2 - If no is there a reason for this out of curiosity? Method overloading isn't supported in general - it's not just constructors. > Q3 - What approach is recommended if this constraint does exist? Default values and varargs, options hashes, or different class hierarchies. It depends on exactly what you're trying to achieve. Do you have an example? -- Alex