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

ruby-changes:71407

From: Nobuyoshi <ko1@a...>
Date: Mon, 14 Mar 2022 14:45:50 +0900 (JST)
Subject: [ruby-changes:71407] a884431624 (master): [ruby/forwardable] Move `:stopdoc:` directive

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

From a884431624966824b9496daa1cfa0dc5e95fe118 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 14 Mar 2022 14:27:05 +0900
Subject: [ruby/forwardable] Move `:stopdoc:` directive

If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.

https://github.com/ruby/forwardable/commit/34cd2ac4a1
---
 lib/forwardable/impl.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/forwardable/impl.rb b/lib/forwardable/impl.rb
index 58a9dfb69c..0322c136db 100644
--- a/lib/forwardable/impl.rb
+++ b/lib/forwardable/impl.rb
@@ -1,5 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/forwardable/impl.rb#L1
-# :stopdoc:
 module Forwardable
+  # :stopdoc:
+
   def self._valid_method?(method)
     catch {|tag|
       eval("BEGIN{throw tag}; ().#{method}", binding, __FILE__, __LINE__)
-- 
cgit v1.2.1


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

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