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

RubyBlocks2() public method

public RubyBlocks2 ( ) : void
return void
        public void RubyBlocks2() {
            AssertExceptionThrown<MissingMethodException>(delegate() {
                CompilerTest(@"
3.times { |x| z = 1 }
puts z # undef z
");
            });
        }
Tests