Exception: CommandLine::ParameterExpected

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

Overview

Missing a required flag argument

Instance Method Summary collapse

Constructor Details

#initialize(option) ⇒ ParameterExpected

Returns a new instance of ParameterExpected.



290
291
292
# File 'lib/cli/command_line_arguments.rb', line 290

def initialize(option)
  super("The option #{option.inspect} expects a parameter!")
end