123456789_123456789_123456789_123456789_123456789_

Exception: OptionParser::InvalidOption

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ParseError, RuntimeError
Instance Chain:
self, ParseError, RuntimeError
Inherits: OptionParser::ParseError
Defined in: lib/optparse.rb

Overview

Raises when switch is undefined.

Constant Summary

ParseError - Inherited

Reason

Class Method Summary

Instance Attribute Summary

ParseError - Inherited

#additional, #args,
#reason

Returns error reason.

#reason=

Instance Method Summary

ParseError - Inherited

#inspect,
#message

Default stringizing method to emit standard error message.

#recover

Pushes back erred argument(s) to argv.

#set_backtrace, #set_option,
#to_s

Constructor Details

This class inherits a constructor from OptionParser::ParseError