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

RubyBlocks10B() public method

Retry in a block called via Proc#call.
public RubyBlocks10B ( ) : void
return void
        public void RubyBlocks10B() {
            TestOutput(@"
proc { retry rescue puts 'not caught here' }.call rescue p $!    # TODO: bug (should not be caught by the inner rescue)
", @"
not caught here
");
        }
Tests