Mark Slagell <ms / iastate.edu> writes:

> > David Alan Black wrote:
> > 
> > >    no block to yield to
> 
> Yes, that's fine.


Sorry to chip in at the end of a thread, particular when consensus is
reached and the thread is about something relatively minor, but... :)

It would be nice to tie the error message back to the syntax of the
language. How about:

   yield called, but no block given


Which echoes the block_given? method name.


Cheers


Dave