Exception: Ethon::Errors::InvalidOption
- Inherits:
-
EthonError
- Object
- StandardError
- EthonError
- Ethon::Errors::InvalidOption
- Defined in:
- lib/ethon/errors/invalid_option.rb
Overview
Raises when option is invalid.
Instance Method Summary collapse
-
#initialize(option) ⇒ InvalidOption
constructor
A new instance of InvalidOption.
Constructor Details
#initialize(option) ⇒ InvalidOption
Returns a new instance of InvalidOption.
7 8 9 |
# File 'lib/ethon/errors/invalid_option.rb', line 7 def initialize(option) super("The option: #{option} is invalid.") end |