Exception: CLI::ParserError::OptionsArgumentNotHashError

Inherits:
CLI::ParserError
  • Object
show all
Defined in:
lib/cli.rb

Instance Method Summary collapse

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