End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Symbol#upcase
sym.upcase → symbol
sym.upcase([options]) → symbol
string.c
View on GitHub ↗
static VALUE
sym_upcase(int argc, VALUE *argv, VALUE sym)
{
return rb_str_intern(rb_str_upcase(argc, argv, rb_sym2str(sym)));
}
Same as sym.to_s.upcase.intern.