Class: JustimmoClient::Errors::InvalidOption

Inherits:
OptionParserError
  • Object
show all
Defined in:
lib/justimmo_client/errors.rb

Overview

Raised when the option parser rejects an option

Instance Method Summary collapse

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