diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-11 07:17:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-11 07:17:22 +0000 |
commit | 4ce3e118e776646b07eaba827b3bdf4c4f5a32d6 (patch) | |
tree | 70869436904cbc924588e1446eaff2dfcc3e63ed /dir.c | |
parent | 84ae5332e5cce7a231789d75ec0e293ff838cb3e (diff) |
dir.c: Dir.exists? is deprecated
* dir.c (rb_dir_exists_p): [DOC] Document that Dir.exists? is
deprecated. [ruby-core:64135] [Bug #10102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2211,7 +2211,6 @@ dir_s_home(int argc, VALUE *argv, VALUE obj) /* * call-seq: * Dir.exist?(file_name) -> true or false - * Dir.exists?(file_name) -> true or false * * Returns <code>true</code> if the named file is a directory, * <code>false</code> otherwise. @@ -2223,6 +2222,12 @@ rb_file_directory_p() } #endif +/* + * call-seq: + * Dir.exists?(file_name) -> true or false + * + * Deprecated method. Don't use. + */ static VALUE rb_dir_exists_p(VALUE obj, VALUE fname) { |