public SetClassVariable ( string name, object value ) : void | ||
name | string | |
value | object | |
return | void |
public static object GetTaggedClasses(RubyModule/*!*/ self) { object taggedClasses; if (!self.TryGetClassVariable(_TaggedClasses, out taggedClasses)) { taggedClasses = CreateDefaultTagMapping(self.Context); self.SetClassVariable(_TaggedClasses, taggedClasses); } return taggedClasses; }
public static object ClassVariableSet(RubyModule/*!*/ self, [DefaultProtocol]string/*!*/ variableName, object value) { RubyUtils.CheckClassVariableName(variableName); self.SetClassVariable(variableName, value); return value; }
public static object ClassVariableSet(RubyModule /*!*/ self, [DefaultProtocol] string /*!*/ variableName, object value) { RubyUtils.CheckClassVariableName(variableName); self.SetClassVariable(variableName, value); return(value); }
public static void SetBufferSize(RubyModule hpricotModule, Int32 bufferSize) { hpricotModule.SetClassVariable("@@buffer_size", bufferSize); }