casecmp(p1)
Case-insensitive version of Symbol#<=>.
static VALUE sym_casecmp(VALUE sym, VALUE other) { if (!SYMBOL_P(other)) { return Qnil; } return rb_str_casecmp(rb_sym2str(sym), rb_sym2str(other)); }