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

Constants1B() public method

public Constants1B ( ) : void
return void
        public void Constants1B() {
            TestOutput(@"
OUTER_CONST = 99
class Const
  puts CONST = OUTER_CONST + 1
end

class Const2 < Const
end

puts Const::CONST
puts ::OUTER_CONST
puts Const::NEW_CONST = 123
puts Const2::CONST
", @"
100
100
99
123
100
");
        }
Tests