From aa3b5062707b72189b42a912dc6df58ab3bb68f8 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 28 Jul 2014 11:28:55 +0000 Subject: add some documents [ci skip] * bignum.c (Init_Bignum): [DOC] Bignum::GMP_VERSION. * complex.c (Init_Complex): [DOC] ignore an internal class. * dir.c (Init_Dir): [DOC] File::FNM_SYSCASE. * file.c (rb_file_exists_p): [DOC] File.exists? is deprecated. * object.c (rb_mod_initialize_clone): [DOC] ignore implementation detail. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index 4fc5f771cf..34b2693430 100644 --- a/file.c +++ b/file.c @@ -1429,7 +1429,6 @@ rb_file_chardev_p(VALUE obj, VALUE fname) /* * call-seq: * File.exist?(file_name) -> true or false - * File.exists?(file_name) -> true or false * * Return true if the named file exists. * @@ -1447,6 +1446,12 @@ rb_file_exist_p(VALUE obj, VALUE fname) return Qtrue; } +/* + * call-seq: + * File.exists?(file_name) -> true or false + * + * Deprecated method. Don't use. + */ static VALUE rb_file_exists_p(VALUE obj, VALUE fname) { -- cgit v1.2.1