⚝
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
/
ruby31
/
share
/
ri
/
system
/
Range
/
View File Name :
eql%3f-i.ri
U:RDoc::AnyMethod[iI" eql?:ETI"Range#eql?;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"#Returns +true+ if and only if:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o; ; [I"+other+ is a range.;To;;0; [o; ; [I"*<tt>other.begin eql? self.begin</tt>.;To;;0; [o; ; [I"&<tt>other.end eql? self.end</tt>.;To;;0; [o; ; [I"6<tt>other.exclude_end? == self.exclude_end?</tt>.;T@o; ; [I"Otherwise returns +false+.;T@o:RDoc::Markup::Verbatim; [ I"r = (1..5) ;TI"-r.eql?(1..5) # => true ;TI"r = Range.new(1, 5) ;TI".r.eql?('foo') # => false ;TI".r.eql?(2..5) # => false ;TI".r.eql?(1..4) # => false ;TI".r.eql?(1...5) # => false ;TI".r.eql?(Range.new(1, 5, true)) # => false ;T:@format0o; ; [I"ZNote that even with the same argument, the return values of #== and #eql? can differ:;T@o;; [I"$(1..2) == (1..2.0) # => true ;TI"%(1..2).eql? (1..2.0) # => false ;T;0o; ; [I"Related: Range#==.;T: @fileI"range.c;T:0@omit_headings_from_table_of_contents_below0I""eql?(other) -> true or false ;T0[ I" (p1);T@<FI" Range;TcRDoc::NormalClass00