From: Christoph Date: 2005-04-24T04:27:20+09:00 Subject: Re: Abstract Class in ruby Paulo S�rgio schrieb: > Hi all, > > My question is very "simple" ... how to define an abstract class (or > method) in ruby? > How about a) just define a module b) class MyAbstractClass private_class_method :new end or c) class MyAbstractClass def self.new raise TypeError, "I am an abstract class" end end /Christoph