taint()
public
Marks obj as tainted—if the $SAFE level is set appropriately,
many method calls which might alter the
running programs environment will refuse to accept tainted strings.
Show source
VALUE
rb_obj_taint(VALUE obj)
{
rb_secure(4);
if (!OBJ_TAINTED(obj)) {
rb_check_frozen(obj);
OBJ_TAINT(obj);
}
return obj;
}