Class: JustimmoClient::Errors::InvalidOption
- Inherits:
-
OptionParserError
- Object
- JustimmoClient::Errors::InvalidOption
- Defined in:
- lib/justimmo_client/errors.rb
Overview
Raised when the option parser rejects an option
Instance Method Summary collapse
-
#initialize(key) ⇒ InvalidOption
constructor
A new instance of InvalidOption.
Constructor Details
#initialize(key) ⇒ InvalidOption
Returns a new instance of InvalidOption.
29 30 31 |
# File 'lib/justimmo_client/errors.rb', line 29 def initialize(key) super "Option '#{key}' not supported" end |