⚝
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
/
Object
/
View File Name :
%3c%3d%3e-i.ri
U:RDoc::AnyMethod[iI"<=>:ETI"Object#<=>;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"8Returns 0 if +obj+ and +other+ are the same object ;TI"1or <code>obj == other</code>, otherwise nil.;To:RDoc::Markup::BlankLine o; ; [I"IThe #<=> is used by various methods to compare objects, for example ;TI")Enumerable#sort, Enumerable#max etc.;T@o; ; [ I"SYour implementation of #<=> should return one of the following values: -1, 0, ;TI"T1 or nil. -1 means self is smaller than other. 0 means self is equal to other. ;TI"N1 means self is bigger than other. Nil means the two values could not be ;TI"compared.;T@o; ; [I"BWhen you define #<=>, you can include Comparable to gain the ;TI"1methods #<=, #<, #==, #>=, #> and #between?.;T: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"obj <=> other -> 0 or nil ;T0[ I" (p1);T@FI"Object;TcRDoc::NormalClass00