Re: Template Method Pattern (GoF) without abstract methods in Ruby

Michael Schwarze <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <[email protected]>
Hi Dan,

> Am 11.01.2019 um 12:23 schrieb Dan Itsara <[email protected]>:

> Not sure whether or not this is applicable in your situation, but could you instead write a method that accepts a block?

That’s an additional way I haven’t thought about so far and I’ll try!

Thanks & Regards,
Michael

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.