⚝
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
/
ruby33
/
share
/
ri
/
system
/
Symbol
/
Edit File: casecmp%3f-i.ri
U:RDoc::AnyMethod[iI" casecmp?:ETI"Symbol#casecmp?;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"QReturns +true+ if +self+ and +object+ are equal after Unicode case folding, ;TI"otherwise +false+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"lower = :abc ;TI"upper = :ABC ;TI"%upper.casecmp?(lower) # => true ;TI"%lower.casecmp?(lower) # => true ;TI"%lower.casecmp?(upper) # => true ;T:@format0o; ; [I"EReturns nil if +self+ and +object+ have incompatible encodings, ;TI"$or if +object+ is not a symbol:;T@o;; [ I"0sym = 'äöü'.encode("ISO-8859-1").to_sym ;TI"other_sym = 'ÄÖÜ' ;TI"&sym.casecmp?(other_sym) # => nil ;TI"&:foo.casecmp?(2) # => nil ;T; 0o; ; [I"RUnlike Symbol#casecmp, works for characters outside of 'A'..'Z' and 'a'..'z':;T@o;; [ I"lower = :äöü ;TI"upper = :ÄÖÜ ;TI"%upper.casecmp?(lower) # => true ;TI"%lower.casecmp?(lower) # => true ;TI"%lower.casecmp?(upper) # => true ;T; 0o; ; [I".Related: Symbol#casecmp, String#casecmp?.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"-casecmp?(object) -> true, false, or nil ;T0[ I" (p1);T@.FI"Symbol;TcRDoc::NormalClass00
Simpan