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

BEGIN2() public method

public BEGIN2 ( ) : void
return void
        public void BEGIN2() {
            TestOutput(@"
puts '5'
BEGIN {
  puts '2'
  BEGIN {
    puts '1'
  }   
  puts '3'
}
puts '6'
BEGIN {
  puts '4'
}
puts '7'
", @"
1
2
3
4
5
6
7
");
        }
Tests