From: Yossef Mendelssohn Date: 2008-11-27T02:00:37+09:00 Subject: Re: How to get a reference to a block (when no explicit block parameter is used?) On Nov 26, 10:54 am, Kenneth McDonald wrote: > Unfortunately, that produces a method that _requires_ a block--I want > one where the block is optional. But thanks for the feedback. Did you try it? >> my_meth(5) { puts 'hi' } # >> my_meth(5) nil -- -yossef