Method: Object#untaint

Defined in:
object.c

#untaintObject

Removes the tainted mark from the object.

See #taint for more information.

Returns:



982
983
984
985
986
987
988
989
990
991
# File 'object.c', line 982

VALUE
rb_obj_untaint(VALUE obj)
{
    rb_secure(3);
    if (OBJ_TAINTED(obj)) {
  rb_check_frozen(obj);
  FL_UNSET(obj, FL_TAINT);
    }
    return obj;
}