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

RubyHosting_Scopes1() public method

public RubyHosting_Scopes1 ( ) : void
return void
        public void RubyHosting_Scopes1() {
            TestOutput(@"
engine = IronRuby.create_engine
scope = engine.create_scope
scope.x = 1
scope.y = 2
p scope.x + scope.y
", @"
3
");
        }
Tests