On Jul 11, 2007, at 5:40 PM, cypher.dp / gmail.com wrote:

> How do you implement something like the "abstract" keyword in Java ?
> Or: Is there a technique to force a subclass to implement a special  
> method ?

One way is:

class Parent
   def abstract_method
     raise NotImplementedError
   end
end

You may just want to skip this step altogether though, since an  
exception toss is the default behavior.

Welcome to the word of dynamic typing.  ;)

James Edward Gray II