U:RDoc::AnyMethod[iI"class_variable_set:ETI"Module#class_variable_set;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"ASets the class variable named by symbol to the given ;TI" object. ;TI"CIf the class variable name is passed as a string, that string ;TI"is converted to a symbol.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"class Fred ;TI" @@foo = 99 ;TI" def foo ;TI" @@foo ;TI" end ;TI" end ;TI"6Fred.class_variable_set(:@@foo, 101) #=> 101 ;TI"5Fred.new.foo #=> 101;T: @format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"aobj.class_variable_set(symbol, obj) -> obj obj.class_variable_set(string, obj) -> obj ;T0[I" (p1, p2);T@FI" Module;TcRDoc::NormalClass00