IronRuby.Tests.Tests.ProcYieldCaching1 C# (CSharp) Method

ProcYieldCaching1() public method

public ProcYieldCaching1 ( ) : void
return void
        public void ProcYieldCaching1() {
            AssertOutput(delegate() {
                CompilerTest(@"
def foo 
  yield
end

foo { print 'A' }
foo { print 'B' }
foo { print 'C' }
");
            }, "ABC");
        }
Tests