From: sur max Date: 2007-02-15T20:05:15+09:00 Subject: Re: Creating a second instance of a singleton class? ------=_Part_55522_8297248.1171537511611 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hey guys !! pls explain the meaning of Singleton Class my perception is that it can only be associated with a single object, and thats why its name so. If you really wanna create more objects then isnt it better to redefine the class with new functions. what say ? On 2/15/07, Jimmy Kofler wrote: > > > Posted by Steve Midgley (stevemidgley) on 14.02.2007 20:24 > > ... > > Now what I really want is to create a second instance of the newly > > created singleton class. It appears to be impossible. A guess the name > > singleton implies as much. But with all of Ruby's tricks, I thought > > there'd be a way to create a new instance of a singleton.. Probably > > there is but I don't see it. > > ... > > Maybe also check out http://www.ruby-forum.com/topic/94696 > > Regards > JK > > > -- > Posted via http://www.ruby-forum.com/. > > -- sur http://expressica.com ------=_Part_55522_8297248.1171537511611--