D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
String
/
Filename :
casecmp-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Case-insensitive version of <tt>String#<=></tt>. - !ruby/struct:SM::Flow::VERB body: " "abcdef".casecmp("abcde") #=> 1\n "aBcDeF".casecmp("abcdef") #=> 0\n "abcdef".casecmp("abcdefg") #=> -1\n "abcdef".casecmp("ABCDEF") #=> 0\n" full_name: String#casecmp is_singleton: false name: casecmp params: | str.casecmp(other_str) => -1, 0, +1 visibility: public