Exception: CLI::ParserError::OptionsArgumentNotHashError
- Inherits:
-
CLI::ParserError
- Object
- ArgumentError
- CLI::ParserError
- CLI::ParserError::OptionsArgumentNotHashError
- Defined in:
- lib/cli.rb
Instance Method Summary collapse
-
#initialize(type, arg) ⇒ OptionsArgumentNotHashError
constructor
A new instance of OptionsArgumentNotHashError.
Constructor Details
#initialize(type, arg) ⇒ OptionsArgumentNotHashError
Returns a new instance of OptionsArgumentNotHashError.
18 19 20 |
# File 'lib/cli.rb', line 18 def initialize(type, arg) super("#{type} options has to be of type Hash, got #{arg.class.name}") end |