Method: Symbol#swapcase
- Defined in:
- string.c
#swapcase(*options) ⇒ Object
Equivalent to sym.to_s.swapcase.to_sym
.
See String#swapcase.
12400 12401 12402 12403 12404 |
# File 'string.c', line 12400
static VALUE
sym_swapcase(int argc, VALUE *argv, VALUE sym)
{
return rb_str_intern(rb_str_swapcase(argc, argv, rb_sym2str(sym)));
}
|