HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/ri/2.6.0/system/Object/object_id-i.ri
U:RDoc::AnyMethod[iI"object_id:ETI"Object#object_id;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"-Returns an integer identifier for +obj+.;To:RDoc::Markup::BlankLineo;
;	[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"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"Object;TcRDoc::NormalClass00