Exception: CLI::ParserError::NameArgumetNotSymbolError

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

Instance Method Summary collapse

Constructor Details

#initialize(type, arg) ⇒ NameArgumetNotSymbolError

Returns a new instance of NameArgumetNotSymbolError.



12
13
14
# File 'lib/cli.rb', line 12

def initialize(type, arg)
	super("#{type} name has to be of type Symbol, got #{arg.class.name}")
end