End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Pathname#taint
pathname.taint → obj
ext/pathname/pathname.c
View on GitHub ↗
static VALUE
path_taint(VALUE self)
{
rb_warn("Pathname#taint is deprecated and will be removed in Ruby 3.2.");
return self;
}
Returns pathname. This method is deprecated and will be removed in Ruby 3.2.