From: Paul Brannan Date: 2002-10-16T23:16:26+09:00 Subject: Re: Interfaces in Ruby On Wed, Oct 16, 2002 at 01:02:16PM +0900, Edward Wilson wrote: > Is there a way to write/inforce interfaces in Ruby like one can using > Abstract Classes in C++ or Interfaces in Java? > > If not, how has everyone been approaching this? Here's something I wrote a while back: http://rm-f.net/~cout/code/ruby/treasures/RubyTreasures-0.3/lib/hacks/interface.rb.html but as I use Ruby more and more, I see less and less use for this. Paul