Exception: CLI::ParserError::ShortNameNotSymbolError

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

Instance Method Summary collapse

Constructor Details

#initialize(switch_dsl, short) ⇒ ShortNameNotSymbolError

Returns a new instance of ShortNameNotSymbolError.



42
43
44
# File 'lib/cli.rb', line 42

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