From: Avdi Grimm Date: 2007-02-06T04:41:22+09:00 Subject: Re: Ruby Blocks and Template Method Pattern On 2/5/07, bcparanj@gmail.com wrote: > I was reading the Programming Ruby book yesterday and the explanation > for Ruby blocks sounded very similar to Template Method pattern that I > used in other object-oriented languages. > > Is my understanding correct? TIA Yes, that's one way of looking at it. Using blocks can be like "filling in the blank" in a template method. -- Avdi