From: Saynatkari Date: 2005-04-24T05:10:01+09:00 Subject: Re: Abstract Class in ruby Le 23/4/2005, "Paulo S�rgio" a �crit:\ >Hi all, > >My question is very "simple" ... how to define an abstract class (or >method) in ruby? Usually one does not need an abstract class in ruby, if you are thinking along the lines of C++ or Java. Reason for this is that ruby is not strictly typed so any class with a conforming interface can be used where that interface is expected. This is the concept of 'duck-typing'. Could you describe your situation in more detail? >Paulo S Medeiros E -- template void quack(duck& d) { d.quack(); }