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

ruby-changes:71317

From: Nobuyoshi <ko1@a...>
Date: Thu, 3 Mar 2022 13:41:09 +0900 (JST)
Subject: [ruby-changes:71317] 7f7f07a600 (master): [DOC] mark `rb_str_init` as `:nodoc:`

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

From 7f7f07a60015a4b907fab99b920f19e746fe10f9 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 3 Mar 2022 13:33:50 +0900
Subject: [DOC] mark `rb_str_init` as `:nodoc:`

Otherwise, an empty entry will be generated as `String::new` along
with the one from doc/string.rb.
---
 string.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/string.c b/string.c
index 55cdace9f8..e8ac779053 100644
--- a/string.c
+++ b/string.c
@@ -1810,6 +1810,7 @@ rb_ec_str_resurrect(struct rb_execution_context_struct *ec, VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L1810
     return ec_str_duplicate(ec, rb_cString, str);
 }
 
+/* :nodoc: documented in doc/string.rdoc */
 static VALUE
 rb_str_init(int argc, VALUE *argv, VALUE str)
 {
-- 
cgit v1.2.1


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

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