summaryrefslogtreecommitdiff
path: root/lib/irb/cmd/fork.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/fork.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/fork.rb')
-rw-r--r--lib/irb/cmd/fork.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/irb/cmd/fork.rb b/lib/irb/cmd/fork.rb
index 7566d10be0..255a670dce 100644
--- a/lib/irb/cmd/fork.rb
+++ b/lib/irb/cmd/fork.rb
@@ -10,9 +10,11 @@
#
#
+require_relative "nop"
-# :stopdoc:
module IRB
+ # :stopdoc:
+
module ExtendCommand
class Fork < Nop
def execute
@@ -33,5 +35,6 @@ module IRB
end
end
end
+
+ # :startdoc:
end
-# :startdoc: