Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
 
               VALUE
rb_str_freeze(VALUE str)
{
    if (OBJ_FROZEN(str)) return str;
    rb_str_resize(str, RSTRING_LEN(str));
    return rb_obj_freeze(str);
}
            

Was this page useful?