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

GetClassVariable() private method

private GetClassVariable ( RubyModule self, [ variableName ) : object
self RubyModule
variableName [
return object
        public static object GetClassVariable(RubyModule/*!*/ self, [DefaultProtocol, NotNull]string/*!*/ variableName) {
            object value;
            if (self.TryResolveClassVariable(variableName, out value) == null) {
                RubyUtils.CheckClassVariableName(variableName);
                throw RubyExceptions.CreateNameError("uninitialized class variable {0} in {1}", variableName, self.Name);
            }
            return value;
        }