Exception: CLI::ParserError::ShortNameSpecifiedTwiceError

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

Instance Method Summary collapse

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