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) {