From: Thomas Wieczorek Date: 2008-07-21T19:17:19+09:00 Subject: Re: protected members or explicit abstract classes? On Mon, Jul 21, 2008 at 11:39 AM, aidy wrote: > Hi, > Heya! > I am reading a book on Java OO. > If you want to read about OO design patterns in Ruby take a look at "Design Patterns in Ruby" by Russ Olsen (http://safari.oreilly.com/9780321490452). > explicit abstract classes? > Ruby is an interpreted language. There is no compile time check. AFAIK if you want to implement something like abstract classes, you can use the NotImplementedError exception: class Foo def bar throw NotImplementedError.new("Implement me!") end end -- Fran Lebowitz - "Food is an important part of a balanced diet."