⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby24
/
share
/
ri
/
2.4.0
/
system
/
Object
/
View File Name :
eql%3f-i.ri
U:RDoc::AnyMethod[iI" eql?:ETI"Object#eql?;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"LEquality --- At the <code>Object</code> level, <code>==</code> returns ;TI"F<code>true</code> only if +obj+ and +other+ are the same object. ;TI"KTypically, this method is overridden in descendant classes to provide ;TI"class-specific meaning.;To:RDoc::Markup::BlankLine o; ; [ I"LUnlike <code>==</code>, the <code>equal?</code> method should never be ;TI"Ioverridden by subclasses as it is used to determine object identity ;TI"M(that is, <code>a.equal?(b)</code> if and only if <code>a</code> is the ;TI"$same object as <code>b</code>):;T@o:RDoc::Markup::Verbatim; [I"obj = "a" ;TI"other = obj.dup ;TI" ;TI" obj == other #=> true ;TI"!obj.equal? other #=> false ;TI" obj.equal? obj #=> true ;T:@format0o; ; [ I"IThe <code>eql?</code> method returns <code>true</code> if +obj+ and ;TI"O+other+ refer to the same hash key. This is used by Hash to test members ;TI"Pfor equality. For objects of class <code>Object</code>, <code>eql?</code> ;TI"Lis synonymous with <code>==</code>. Subclasses normally continue this ;TI"Qtradition by aliasing <code>eql?</code> to their overridden <code>==</code> ;TI"Hmethod, but there are exceptions. <code>Numeric</code> types, for ;TI"Mexample, perform type conversion across <code>==</code>, but not across ;TI"<code>eql?</code>, so:;T@o;; [I"1 == 1.0 #=> true ;TI"1.eql? 1.0 #=> false;T; 0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"tobj == other -> true or false obj.equal?(other) -> true or false obj.eql?(other) -> true or false ;T0[ I" (p1);T@.FI"Object;TcRDoc::NormalClass00