Hi,

In message "Re: [ruby-core:23630] Expected Behaviour of Modifying an Iterator in the Block to Which it 	Yields?"
    on Sat, 30 May 2009 10:38:52 +0900, Run Paint Run Run <runrun / runpaint.org> writes:

|While writing some specifications for RubySpec, I've encountered an issue that
|I'd appreciate clarification on: What is the expected behaviour of an iterator
|if it is modified inside of the block to which it yields?

It is undefined behavior of iterators if the block modifies iterating
object.  It may crash or fall in to infinite loop.

							matz.