Class: Exec::ExecutableCommand::CustomCommandOption

Inherits:
CommandOption
  • Object
show all
Defined in:
lib/exec/executable_command.rb

Overview

Inherited CommandOption used only by NodeLs.

Instance Attribute Summary

Attributes inherited from CommandOption

#values

Instance Method Summary collapse

Methods inherited from CommandOption

#add_option, #get_banner, #get_help, #get_sorted_options, #has_argument, #initialize, #initialize_option_values, #verify

Constructor Details

This class inherits a constructor from Exec::CommandOption

Instance Method Details

#check_mandatoryObject (protected)

This method overrides the default behaviour.

Raises:



187
188
189
190
191
# File 'lib/exec/executable_command.rb', line 187

def check_mandatory
  unless @values["help"]
    super()
  end
end