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.
6 7 8 |
# File 'lib/ethon/errors/invalid_option.rb', line 6 def initialize(option) super("The option: #{option} is invalid.") end |