From: Pit Capitain Date: 2007-08-07T01:38:56+09:00 Subject: Re: yield or call? 2007/8/6, James Edward Gray II : > On Aug 6, 2007, at 10:39 AM, Phlip wrote: > > What if the block were optional? > > You can use block_given? to find out if a block was provided. Yes, but not in the helper method. In the code I've shown there's always a block passed to the helper method. Phlip has a point here. Regards, Pit