Class: JustimmoClient::OptionParser::InvalidOption Private
- Inherits:
-
OptionParserError
- Object
- JustimmoClient::OptionParser::InvalidOption
- Defined in:
- lib/justimmo_client/option_parser.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Raised when the option parser rejects an option
Instance Method Summary collapse
-
#initialize(key) ⇒ InvalidOption
constructor
private
A new instance of InvalidOption.
Constructor Details
#initialize(key) ⇒ InvalidOption
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InvalidOption.
13 14 15 |
# File 'lib/justimmo_client/option_parser.rb', line 13 def initialize(key) super "Option '#{key}' not supported" end |