Exception: CLI::ParserError::LongNameSpecifiedTwiceError

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

Instance Method Summary collapse

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