Exception: CLI::ParserError::ShortNameSpecifiedTwiceError
- Inherits:
-
CLI::ParserError
- Object
- ArgumentError
- CLI::ParserError
- CLI::ParserError::ShortNameSpecifiedTwiceError
- Defined in:
- lib/cli.rb
Instance Method Summary collapse
-
#initialize(what, switch_dsl) ⇒ ShortNameSpecifiedTwiceError
constructor
A new instance of ShortNameSpecifiedTwiceError.
Constructor Details
#initialize(what, switch_dsl) ⇒ ShortNameSpecifiedTwiceError
Returns a new instance of ShortNameSpecifiedTwiceError.
36 37 38 |
# File 'lib/cli.rb', line 36 def initialize(what, switch_dsl) super("short #{what} #{switch_dsl.switch_short} specified twice") end |