IronRuby.Builtins.ModuleOps.Evaluate C# (CSharp) Method

Evaluate() private method

private Evaluate ( RubyScope scope, BlockParam block, RubyModule self, [ code, [ file, [ line ) : object
scope RubyScope
block BlockParam
self RubyModule
code [
file [
line [
return object
        public static object Evaluate(RubyScope/*!*/ scope, BlockParam block, RubyModule/*!*/ self, [DefaultProtocol, NotNull]MutableString/*!*/ code,
            [Optional, NotNull]MutableString file, [DefaultParameterValue(1)]int line) {

            if (block != null) {
                throw RubyExceptions.CreateArgumentError("wrong number of arguments");
            } 
            
            return RubyUtils.Evaluate(code, scope, self, self, file, line);
        }

Same methods

ModuleOps::Evaluate ( [ block, RubyModule self ) : object