[前][次][番号順一覧][スレッド一覧]

ruby-changes:60676

From: Nobuyoshi <ko1@a...>
Date: Mon, 6 Apr 2020 23:06:50 +0900 (JST)
Subject: [ruby-changes:60676] d827c718db (master): [DOC] Removed RDoc of deprecated methods [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=d827c718db

From d827c718db32c07f025f88fd792e9407e19e66e1 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 6 Apr 2020 23:05:51 +0900
Subject: [DOC] Removed RDoc of deprecated methods [ci skip]


diff --git a/dir.c b/dir.c
index 339db2f..eaabc0a 100644
--- a/dir.c
+++ b/dir.c
@@ -3333,12 +3333,7 @@ rb_file_directory_p(void) https://github.com/ruby/ruby/blob/trunk/dir.c#L3333
 }
 #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 929dac8..6d8adac 100644
--- a/file.c
+++ b/file.c
@@ -1773,12 +1773,7 @@ rb_file_exist_p(VALUE obj, VALUE fname) https://github.com/ruby/ruby/blob/trunk/file.c#L1773
     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)
 {
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]