This is a multi-part message in MIME format.

------extPart_000_0024_01C2BE26.69BF61E0
Content-Type: text/plain;
	charsetso-8859-1"
Content-Transfer-Encoding: quoted-printable

Search ruby-talk archive (http://www.ruby-talk.org/ruby/ruby-talk/index.shtml) -- you will find huge amount of discussions and solutions on the subject there.

Gennady.
  ----- Original Message ----- 
  From: Lars M. 
  To: ruby-talk ML 
  Sent: Friday, January 17, 2003 12:17 PM
  Subject: Multiple constructors ...


  Hi,

  Is there a way to have two constructors which take a different number of arguments?

  If not, Ruby should really support multiple constructors!

  Ciao,

  -Lars
------extPart_000_0024_01C2BE26.69BF61E0
Content-Type: text/html;
	charsetso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Search ruby-talk archive (<A 
href="http://www.ruby-talk.org/ruby/ruby-talk/index.shtml">http://www.ruby-talk.org/ruby/ruby-talk/index.shtml</A>) 
-- you will find huge&nbsp;amount of discussions and solutions on the subject 
there.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Gennady.</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=lars-m / gmx.net href="mailto:lars-m / gmx.net">Lars M.</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=ruby-talk / ruby-lang.org 
  href="mailto:ruby-talk / ruby-lang.org">ruby-talk ML</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 17, 2003 12:17 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Multiple constructors ...</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Is there a way to have two constructors which 
  take a different number of arguments?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>If not, Ruby should really support multiple 
  constructors!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Ciao,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>-Lars</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------extPart_000_0024_01C2BE26.69BF61E0--