Exception: CLI::ParsingError::MandatoryOptionsNotSpecifiedError
- Inherits:
-
CLI::ParsingError
- Object
- ArgumentError
- CLI::ParsingError
- CLI::ParsingError::MandatoryOptionsNotSpecifiedError
- Defined in:
- lib/cli.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ MandatoryOptionsNotSpecifiedError
constructor
A new instance of MandatoryOptionsNotSpecifiedError.
Constructor Details
#initialize(options) ⇒ MandatoryOptionsNotSpecifiedError
Returns a new instance of MandatoryOptionsNotSpecifiedError.
74 75 76 |
# File 'lib/cli.rb', line 74 def initialize() super("mandatory options not specified: #{.map{|o| o.switch}.sort.join(', ')}") end |