📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 17:57:35
📂
/ (Root)
/
opt
/
alt
/
ruby31
/
share
/
ri
/
system
/
BasicObject
📍 /opt/alt/ruby31/share/ri/system/BasicObject
🔄 Refresh
✏️
Editing: __id__-i.ri
Read Only
U:RDoc::AnyMethod[iI"__id__:ETI"BasicObject#__id__;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"-Returns an integer identifier for +obj+.;To:RDoc::Markup::BlankLine o; ; [I"NThe same number will be returned on all calls to +object_id+ for a given ;TI"8object, and no two active objects will share an id.;T@o; ; [I"MNote: that some objects of builtin classes are reused for optimization. ;TI"FThis is the case for immediate values and frozen string literals.;T@o; ; [I"DBasicObject implements +__id__+, Kernel implements +object_id+.;T@o; ; [I"KImmediate values are not passed by reference but are passed by value: ;TI"?+nil+, +true+, +false+, Fixnums, Symbols, and some Floats.;T@o:RDoc::Markup::Verbatim; [ I"?Object.new.object_id == Object.new.object_id # => false ;TI">(21 * 2).object_id == (21 * 2).object_id # => true ;TI"?"hello".object_id == "hello".object_id # => false ;TI"="hi".freeze.object_id == "hi".freeze.object_id # => true;T:@format0: @fileI" gc.c;T:0@omit_headings_from_table_of_contents_below0I"=obj.__id__ -> integer obj.object_id -> integer ;T0[ I"();T@$FI"BasicObject;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel