Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/String/casecmp-i.yaml |
--- !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