diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-21 17:06:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-21 17:06:31 +0000 |
commit | 22a961383a4c3519f5d807f0986168ec1ec2bebf (patch) | |
tree | e37019c56ba76b24aa2d730e26f7b75a9688d0e4 /file.c | |
parent | 1ca90beaac396f880a39c964b38c94ea09189da2 (diff) |
dir.c: warn Dir.exists?
* dir.c (rb_dir_exists_p): warn deprecated name. [Bug #9041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1409,7 +1409,7 @@ rb_file_exists_p(VALUE obj, VALUE fname) RTEST(rb_class_inherited_p(obj, rb_cFile)))) { s = "File."; } - rb_warning("%sexists? is deprecated name, use %sexist? instead", s, s); + rb_warning("%sexists? is a deprecated name, use %sexist? instead", s, s); return rb_file_exist_p(obj, fname); } |