summaryrefslogtreecommitdiff
path: root/lib/irb/cmd/info.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-14 14:34:16 +0900
committergit <svn-admin@ruby-lang.org>2022-03-14 14:40:28 +0900
commit8760b270ed63e6fd7a1b40ef7fa1699ab272beef (patch)
tree64940fe876eb182612a8b29a30a3d597058ab37b /lib/irb/cmd/info.rb
parent3c59913a05ba73f1eeadc7fbff3f55185fef2713 (diff)
[ruby/irb] 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/irb/commit/86c41b06ad
Diffstat (limited to 'lib/irb/cmd/info.rb')
-rw-r--r--lib/irb/cmd/info.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/irb/cmd/info.rb b/lib/irb/cmd/info.rb
index dd93352ff0..37ecd762ff 100644
--- a/lib/irb/cmd/info.rb
+++ b/lib/irb/cmd/info.rb
@@ -2,8 +2,9 @@
require_relative "nop"
-# :stopdoc:
module IRB
+ # :stopdoc:
+
module ExtendCommand
class Info < Nop
def execute
@@ -28,5 +29,6 @@ module IRB
end
end
end
+
+ # :startdoc:
end
-# :startdoc: