private Require ( IronRuby.Runtime.RubyScope scope, |
||
scope | IronRuby.Runtime.RubyScope | |
self | ||
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;
}