From: dblack@... Date: 2002-11-22T07:42:49+09:00 Subject: Re: Multiple constructors? Hi -- On Fri, 22 Nov 2002, Paul Brannan wrote: > On Fri, Nov 22, 2002 at 05:18:14AM +0900, dblack@candle.superlink.net wrote: > > I think the privacy is gate-kept separately by each object's singleton > > class: > > Oh, good point. > > This discussion inspired me to go rewrite some code I wrote the day I > started learning Ruby. I decided to use instance_eval to call the > private initialize_with_xxx methods. Do you think that's a reasonable > alternative? It does seem more streamlined. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav