On Fri, 17 Aug 2001, Ryo Furue wrote:

> ....except for this problem: How should I prevent the user from calling
> MyClass.new?  One person (Sorry, but my newsreader doesn't allow me to
> go back to the list to check your name until I finish posting.)
> suggested that I should make MyClass.new private.  But, I don't know
> how to accomplish it.

does this work?

class MyClass
 class << self
   private :new
 end
end