Exception: CommandLine::UnknownOption

Inherits:
Error
  • Object
show all
Defined in:
lib/cli/command_line_arguments.rb

Overview

Encountered an unkown flag

Instance Method Summary collapse

Constructor Details

#initialize(option_identifier) ⇒ UnknownOption

Returns a new instance of UnknownOption.



297
298
299
# File 'lib/cli/command_line_arguments.rb', line 297

def initialize(option_identifier)
  super("#{option_identifier.inspect} not recognized as a valid option!")
end