> I am just curious as to what are all the possible methods of > iterating through a code block in ruby. Ruby it a Turing complete language. There are, literally, an infinite number of ways to do it. (Consider continuations, for example...) -- MarkusQ