Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Equivalent to sym.to_s.swapcase.to_sym.
 
               static VALUE
sym_swapcase(int argc, VALUE *argv, VALUE sym)
{
    return rb_str_intern(rb_str_swapcase(argc, argv, rb_sym2str(sym)));
}
            

Was this page useful?