Exception: CLI::ParserError::ShortNameIsInvalidError
- Inherits:
-
CLI::ParserError
- Object
- ArgumentError
- CLI::ParserError
- CLI::ParserError::ShortNameIsInvalidError
- Defined in:
- lib/cli.rb
Instance Method Summary collapse
-
#initialize(switch_dsl, short) ⇒ ShortNameIsInvalidError
constructor
A new instance of ShortNameIsInvalidError.
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 |