End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Object#taint
obj.taint → obj
object.c
View on GitHub ↗
VALUE
rb_obj_taint(VALUE obj)
{
rb_warn_deprecated_to_remove_at(3.2, "Object#taint", NULL);
return obj;
}
Returns object. This method is deprecated and will be removed in Ruby 3.2.