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