Class: CLI::Kit::Args::Parser::InvalidOptionError

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

Instance Method Summary collapse

Methods included from T::Sig

sig

Constructor Details

#initialize(option) ⇒ InvalidOptionError

Returns a new instance of InvalidOptionError.



18
19
20
# File 'lib/cli/kit/args/parser.rb', line 18

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