From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2002-03-14T03:20:23+09:00 Subject: Re: Method type 'abstract' In article <3C8E2BA6.5070008@semantico.com>, Peter Hickman wrote: >The one thing I miss in Ruby is the abstract class method to go along >with public and private. I know it is easy to work around by having the >default abstract class simply raise an exception but would it be >difficult to implement this as part of Ruby? > public, private and protected are methods defined in Module perhaps one could define an abstract method in Module as well that would raise an exception if a method defined as abstract is called on the class. Phil