diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-03-14 14:34:16 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-03-14 14:40:28 +0900 |
commit | 8760b270ed63e6fd7a1b40ef7fa1699ab272beef (patch) | |
tree | 64940fe876eb182612a8b29a30a3d597058ab37b /lib/irb/lc/error.rb | |
parent | 3c59913a05ba73f1eeadc7fbff3f55185fef2713 (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/lc/error.rb')
-rw-r--r-- | lib/irb/lc/error.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/irb/lc/error.rb b/lib/irb/lc/error.rb index 798994e92c..b8a7fe5a0e 100644 --- a/lib/irb/lc/error.rb +++ b/lib/irb/lc/error.rb @@ -10,8 +10,9 @@ # # -# :stopdoc: module IRB + # :stopdoc: + class UnrecognizedSwitch < StandardError def initialize(val) super("Unrecognized switch: #{val}") @@ -67,5 +68,6 @@ module IRB super("Define illegal RC_NAME_GENERATOR.") end end + + # :startdoc: end -# :startdoc: |