Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
String
/
//proc/self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/String/casecmp-i.ri
U:RDoc::AnyMethod[iI"casecmp:ETI"String#casecmp;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"-Case-insensitive version of String#<=>. ;TI"ECurrently, case-insensitivity only works on characters A-Z/a-z, ;TI"@not all of Unicode. This is different from String#casecmp?.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I")"aBcDeF".casecmp("abcde") #=> 1 ;TI")"aBcDeF".casecmp("abcdef") #=> 0 ;TI"*"aBcDeF".casecmp("abcdefg") #=> -1 ;TI")"abcdef".casecmp("ABCDEF") #=> 0 ;T:@format0o; ; [I"G+nil+ is returned if the two strings have incompatible encodings, ;TI"'or if +other_str+ is not a string.;T@o;; [I" "foo".casecmp(2) #=> nil ;TI"J"\u{e4 f6 fc}".encode("ISO-8859-1").casecmp("\u{c4 d6 dc}") #=> nil;T; 0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"3str.casecmp(other_str) -> -1, 0, +1, or nil ;T0[ I" (p1);T@FI"String;TcRDoc::NormalClass00