Exception: CLI::ParserError::ShortNameIsInvalidError

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

Instance Method Summary collapse

Constructor Details

#initialize(switch_dsl, short) ⇒ ShortNameIsInvalidError

Returns a new instance of ShortNameIsInvalidError.



48
49
50
# File 'lib/cli.rb', line 48

def initialize(switch_dsl, short)
	super("short name for #{switch_dsl.switch} has to be one letter symbol, got #{short.inspect}")
end