⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Module
/
View File Name :
%3d%3d-i.ri
U:RDoc::AnyMethod[iI"==:ETI"Module#==;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"EEquality --- At the Object level, #== returns <code>true</code> ;TI"Eonly if +obj+ and +other+ are the same object. Typically, this ;TI";method is overridden in descendant classes to provide ;TI"class-specific meaning.;To:RDoc::Markup::BlankLine o; ; [ I"BUnlike #==, the #equal? method should never be overridden by ;TI"Esubclasses as it is used to determine object identity (that is, ;TI"H<code>a.equal?(b)</code> if and only if <code>a</code> is the same ;TI"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"EThe #eql? method returns <code>true</code> if +obj+ and +other+ ;TI"Grefer to the same hash key. This is used by Hash to test members ;TI"Hfor equality. For any pair of objects where #eql? returns +true+, ;TI"Dthe #hash value of both objects must be equal. So any subclass ;TI"Cthat overrides #eql? should also override #hash appropriately.;T@o; ; [ I"7For objects of class Object, #eql? is synonymous ;TI"Hwith #==. Subclasses normally continue this tradition by aliasing ;TI"E#eql? to their overridden #== method, but there are exceptions. ;TI"ENumeric types, for example, perform type conversion across #==, ;TI"but not across #eql?, 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@2FI"Module;TcRDoc::NormalClass00