summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2020-01-23 21:42:05 +0900
committerNobuyoshi Nakada <[email protected]>2020-01-23 21:42:15 +0900
commitaefb13eb631cc5cd784fe2fc10f1f333a2c5e68c ()
treefd1d57d7945a28b8dc0dca5175b9c87a449c56be /ext/pathname
parent0ea759eac9234afc47e8fb1bcacfe9ee12c8ffb6 (diff)
Added rb_warn_deprecated_to_remove
Warn the deprecation and future removal, with obeying the warning flag.
-rw-r--r--ext/pathname/pathname.c4
1 files changed, 2 insertions, 2 deletions
@@ -138,7 +138,7 @@ path_freeze(VALUE self)
static VALUE
path_taint(VALUE self)
{
- 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("Pathname#untaint is deprecated and will be removed in Ruby 3.2.");
return self;
}