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

LibraryLoader1() public method

public LibraryLoader1 ( ) : void
return void
        public void LibraryLoader1() {
            Context.DefineGlobalVariable("lib_name", MutableString.CreateAscii(typeof(TestLibraryInitializer1).AssemblyQualifiedName));

            AssertOutput(delegate() {
                CompilerTest(@"
require($lib_name)
puts TEST_LIBRARY
puts object_monkey
");
            }, @"
hello from library
This is monkey!
");

        }
Tests