Class: JustimmoClient::OptionParser::InvalidValue Private
- Inherits:
-
OptionParserError
- Object
- JustimmoClient::OptionParser::InvalidValue
- 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 a value
Instance Method Summary collapse
-
#initialize(value) ⇒ InvalidValue
constructor
private
A new instance of InvalidValue.
Constructor Details
#initialize(value) ⇒ InvalidValue
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 InvalidValue.
20 21 22 |
# File 'lib/justimmo_client/option_parser.rb', line 20 def initialize(value) super "'#{value}' is not in the list of accepted values" end |