summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2022-03-14 14:27:05 +0900
committerNobuyoshi Nakada <[email protected]>2022-03-14 14:44:46 +0900
commita884431624966824b9496daa1cfa0dc5e95fe118 ()
tree540f99e0192e2b19e9889fe1aa9d47383e7d315d
parent8760b270ed63e6fd7a1b40ef7fa1699ab272beef (diff)
[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://.com/ruby/forwardable/commit/34cd2ac4a1
-rw-r--r--lib/forwardable/impl.rb3
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@
-# :stopdoc:
module Forwardable
def self._valid_method?(method)
catch {|tag|
eval("BEGIN{throw tag}; ().#{method}", binding, __FILE__, __LINE__)