From: Rob Rypka Date: 2005-09-21T23:39:57+09:00 Subject: Re: Hello, I am a newbie to ruby. ------=_Part_931_26763766.1127313594089 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/21/05, Rob Rypka wrote: > > On 9/21/05, Josh Charles wrote: > > > > One place multiple inheritance / interfaces really shines is with > > adapters and the observer pattern. I've not tried either of these > > with ruby yet, however, so I'm unfamiliar with how these problems > > would be solved with ruby. > > > > The "Ruby Way" is to use Procs. This explains it better that I would: > > http://www.rubygarden.org/ruby?ObserverPattern > > Rob > That response was incomplete. The above is for the Observer pattern. Also, s/that/than/. I woke up way too early this morning, and my communication skills are suffering for it. For completeness, here's a link for the adaptor pattern: http://www.rubygarden.org/ruby?AdaptorPattern If you're interested in other design patterns in Ruby, find them here: http://www.rubygarden.org/ruby?ExampleDesignPatternsInRuby Rob ------=_Part_931_26763766.1127313594089--