matz / ruby-lang.org (Yukihiro Matsumoto) wrote:
> Hi,
> 
> In message "[ruby-talk:24183] "yield called out of block""
>     on 01/11/03, Mark Slagell <ms / iastate.edu> writes:
> 
> |How about any of the following:
> |
> |  "yield called but no block given"
> |  "there is nothing to yield to"
> |  "an iterator usually needs to be given something to do" ;-)
> |
> |Anyway, the current message doesn't quite seem to capture what is wrong.
> |My correpondent was convinced there was something wrong with the
> |iterator method.
> 
> "no block to yield"?

It would sound fine if you just were to change the "out" in the original 
exception to "outside".

-- 
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green / FreeBSD.org                    `------------------------------'