| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Object/ |
Upload File : |
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::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"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