Method: Object#taint

Defined in:
object.c

#taintObject

Returns object. This method is deprecated and will be removed in Ruby 3.2.

Returns:



1182
1183
1184
1185
1186
1187
# File 'object.c', line 1182

VALUE
rb_obj_taint(VALUE obj)
{
    rb_warning("Object#taint is deprecated and will be removed in Ruby 3.2.");
    return obj;
}