diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-07 12:43:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-07 12:49:33 +0900 |
commit | 67f616c523023080c037784ff49739c76f108741 (patch) | |
tree | 317aae188f7885b64b8d62e2d6dd6832a67d993d /dir.c | |
parent | d827c718db32c07f025f88fd792e9407e19e66e1 (diff) | |
download | ruby-67f616c523023080c037784ff49739c76f108741.tar.gz |
Show the deprecated name in the warning
Fixed up a58bbd6a512d95ca010d8bebae4fe590400c1413.
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3337,7 +3337,7 @@ rb_file_directory_p(void) static VALUE rb_dir_exists_p(VALUE obj, VALUE fname) { - rb_warn_deprecated("", "Dir.exist?"); + rb_warn_deprecated("Dir.exists?", "Dir.exist?"); return rb_file_directory_p(obj, fname); } |