summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-06 23:05:51 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-06 23:06:03 +0900
commitd827c718db32c07f025f88fd792e9407e19e66e1 (patch)
treee37433898fdb2d8bf0cc3e4a3bac1a47a941c70f
parent827e88119ce9be18b491502a7b54c5c549eed2a9 (diff)
downloadruby-d827c718db32c07f025f88fd792e9407e19e66e1.tar.gz
[DOC] Removed RDoc of deprecated methods [ci skip]
-rw-r--r--dir.c7
-rw-r--r--file.c7
2 files changed, 2 insertions, 12 deletions
diff --git a/dir.c b/dir.c
index 339db2f9ce..eaabc0a789 100644
--- a/dir.c
+++ b/dir.c
@@ -3333,12 +3333,7 @@ rb_file_directory_p(void)
}
#endif
-/*
- * call-seq:
- * Dir.exists?(file_name) -> true or false
- *
- * Deprecated method. Don't use.
- */
+/* :nodoc: */
static VALUE
rb_dir_exists_p(VALUE obj, VALUE fname)
{
diff --git a/file.c b/file.c
index 929dac8c34..6d8adac4c4 100644
--- a/file.c
+++ b/file.c
@@ -1773,12 +1773,7 @@ rb_file_exist_p(VALUE obj, VALUE fname)
return Qtrue;
}
-/*
- * call-seq:
- * File.exists?(file_name) -> true or false
- *
- * Deprecated method. Don't use.
- */
+/* :nodoc: */
static VALUE
rb_file_exists_p(VALUE obj, VALUE fname)
{