Miles Keaton ha scritto:
> What's the recommended Ruby way to do abstract classes and abstract methods?
> 
> Related : what's the Ruby way for interfaces?
> 
> While Googling for it, I was thinking about what abstracts and
> interfaces are used for in Java and PHP5 ... and it came down to
> stopping with errors if a certain method was NOT implemented.
> 
> So... is that kind of thing just not the Ruby Way?  (To give you
> errors for not doing something.)

generally, no. If you use Abstract classes to follow a template method 
approach it is ok, but we don't usually check interface definition.
Anyway, you can do it (this is ruby ;).
See the recent thread here:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/119878