Exception: CLI::ParsingError::MandatoryOptionsNotSpecifiedError

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

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ MandatoryOptionsNotSpecifiedError

Returns a new instance of MandatoryOptionsNotSpecifiedError.



74
75
76
# File 'lib/cli.rb', line 74

def initialize(options)
	super("mandatory options not specified: #{options.map{|o| o.switch}.sort.join(', ')}")
end