public void RubyBlocks8() { AssertOutput(delegate() { CompilerTest(@" i = 0 x = 2.times { |x| puts x i = i + 1 if i < 3 then redo end } puts x "); }, @" 0 0 0 1 2 "); }