📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 01:28:51
📂
/ (Root)
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Module
📍 /opt/alt/ruby27/share/ri/system/Module
🔄 Refresh
✏️
Editing: class_variables-i.ri
Read Only
U:RDoc::AnyMethod[iI"class_variables:ETI"Module#class_variables;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"EReturns an array of the names of class variables in <i>mod</i>. ;FI"@This includes the names of class variables in any included ;FI"<modules, unless the <i>inherit</i> parameter is set to ;FI"<code>false</code>.;Fo:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"class One ;TI" @@var1 = 1 ;TI" end ;TI"class Two < One ;TI" @@var2 = 2 ;TI" end ;TI"0One.class_variables #=> [:@@var1] ;TI"9Two.class_variables #=> [:@@var2, :@@var1] ;TI"/Two.class_variables(false) #=> [:@@var2];T:@format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"3mod.class_variables(inherit=true) -> array ;F0[ I"(*args);T@FI"Module;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel