Class: CLI::Kit::Args::Tokenizer::InvalidShortOption

Inherits:
Error
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/cli/kit/args/tokenizer.rb

Instance Method Summary collapse

Methods included from T::Sig

sig

Constructor Details

#initialize(short_option) ⇒ InvalidShortOption

Returns a new instance of InvalidShortOption.



16
17
18
# File 'lib/cli/kit/args/tokenizer.rb', line 16

def initialize(short_option)
  super("invalid short option: '-#{short_option}'")
end