📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 06:01:58
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Object
📍 /opt/alt/ruby33/share/ri/system/Object
🔄 Refresh
✏️
Editing: singleton_class-i.ri
Read Only
U:RDoc::AnyMethod[iI"singleton_class:ETI"Object#singleton_class;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"EReturns the singleton class of <i>obj</i>. This method creates ;TI";a new singleton class if <i>obj</i> does not have one.;To:RDoc::Markup::BlankLine o; ; [ I">If <i>obj</i> is <code>nil</code>, <code>true</code>, or ;TI"H<code>false</code>, it returns NilClass, TrueClass, or FalseClass, ;TI"respectively. ;TI"MIf <i>obj</i> is an Integer, a Float or a Symbol, it raises a TypeError.;T@o:RDoc::Markup::Verbatim; [I"CObject.new.singleton_class #=> #<Class:#<Object:0xb7ce1e24>> ;TI"5String.singleton_class #=> #<Class:String> ;TI"-nil.singleton_class #=> NilClass;T:@format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"%obj.singleton_class -> class ;T0[ I"();T@FI"Object;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel