From: Jake McArthur Date: 2006-07-28T04:31:45+09:00 Subject: Re: Prevent class instantiation from the initialize method? On Jul 27, 2006, at 2:21 PM, Dave Mihalik wrote: > Can some show me how to implement this java program using Ruby? > I am simply trying to prevent the testclass from being instantiated in > the constructor. > I am then checking to see if the the class has instanatiated properly. This seems like a bad idea. I can think of no good reason to do this. This is probably just a bad solution to a very different problem. What exactly are you planning to do with this? - Jake McArthur