IronRuby.Builtins.IronRubyOps.Require C# (CSharp) Method

Require() private method

private Require ( IronRuby.Runtime.RubyScope scope, RubyModule self, MutableString libraryName ) : object
scope IronRuby.Runtime.RubyScope
self RubyModule
libraryName MutableString
return object
        public static object/*!*/ Require(RubyScope/*!*/ scope, RubyModule/*!*/ self, MutableString/*!*/ libraryName) {
            object loaded;
            
            scope.RubyContext.Loader.LoadFile(
                null, self, libraryName, LoadFlags.LoadOnce | LoadFlags.AppendExtensions | LoadFlags.ResolveLoaded | LoadFlags.AnyLanguage, out loaded
            );

            Debug.Assert(loaded != null);
            return loaded;
        }