mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert pathname, rb_warn_deprecated* are not public API
This commit is contained in:
parent
aefb13eb63
commit
27ac1c615d
1 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ path_freeze(VALUE self)
|
|||
static VALUE
|
||||
path_taint(VALUE self)
|
||||
{
|
||||
rb_warn_deprecated_to_remove("Pathname#taint", "3.2");
|
||||
rb_warn("Pathname#taint is deprecated and will be removed in Ruby 3.2.");
|
||||
return self;
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,7 @@ path_taint(VALUE self)
|
|||
static VALUE
|
||||
path_untaint(VALUE self)
|
||||
{
|
||||
rb_warn_deprecated_to_remove("Pathname#untaint", "3.2");
|
||||
rb_warn("Pathname#untaint is deprecated and will be removed in Ruby 3.2.");
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue