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