Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Returns the Encoding object that represents the encoding of sym.
 
               static VALUE
sym_encoding(VALUE sym)
{
    return rb_obj_encoding(rb_sym2str(sym));
}
            

Was this page useful?