summaryrefslogtreecommitdiff
path: root/lib/irb/lc/error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/lc/error.rb')
-rw-r--r--lib/irb/lc/error.rb6
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: