IronRuby.Builtins.RubyModule.CreateAnonymousModule C# (CSharp) Method

CreateAnonymousModule() public static method

public static CreateAnonymousModule ( IronRuby.Runtime.RubyScope scope, BlockParam body, RubyClass self ) : object
scope IronRuby.Runtime.RubyScope
body IronRuby.Runtime.BlockParam
self RubyClass
return object
        public static object CreateAnonymousModule(RubyScope/*!*/ scope, BlockParam body, RubyClass/*!*/ self) {
            RubyModule newModule = new RubyModule(self, null);
            return (body != null) ? RubyUtils.EvaluateInModule(newModule, body, null, newModule) : newModule;
        }
RubyModule