From: Chad Perrin Date: 2007-03-22T03:08:56+09:00 Subject: Re: does Ruby not support multiple "initialize" methods for a class??? On Wed, Mar 21, 2007 at 12:27:04PM +0900, David A. Black wrote: > > It's like Ruby is saying, "You want 'attributes'? OK. Here. Now > you've got 'attributes'." :-) It's all built on the simplest possible > things in Ruby, and on not very many of them. > > Multiple constructors seem to fall into that category. All you have > to do is use allocate, and you can have as many constructors as you > need. > > I wonder what lies ahead. I mean, look how easy it is to conjure up > things like attributes and class methods from the building blocks that > Ruby offers. The things that get conjured up tend to resemble things > from other languages -- but maybe there are entirely new constructs > waiting to arise out of Ruby's components. Hmm. I like that explanation. It'll bear some thought. Thanks. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] "A script is what you give the actors. A program is what you give the audience." - Larry Wall