From: Joe Van Dyk Date: 2005-08-12T05:26:03+09:00 Subject: Re: Head First Design Patterns - Strategy Pattern [was: Java/C# "interface" in Ruby ?] On 8/11/05, Peter Fitzgibbons wrote: > Hello all. > > Ok, ok, I'll give more detail on what I'm up to. > > In an effort to learn much more Ruby (and more software technique in > general), I'm working through the O'Reilly book "Head First Design > Patterns" (Gang-of-four rewritten). > > So, the first "pattern" (not really a pattern officially) is the > Strategy Pattern. > Duck class is copied below. I have no idea if it's appliable in this case, but Ruby's standard library comes with a Delgate something or other. Might be helpful.