Class: AssLauncher::Enterprise::Cli::Parameters::Flag Private

Inherits:
StringParam
  • Object
show all
Defined in:
lib/ass_launcher/enterprise/cli/parameters.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Flag parameter not expects argument

Constant Summary

Constants included from AssLauncher::Enterprise::Cli::Parameters

DEFAULT_OPTIONS

Instance Attribute Summary

Attributes included from AssLauncher::Enterprise::Cli::Parameters

#binary_matcher, #desc, #group, #modes, #name, #options, #parent

Instance Method Summary collapse

Methods inherited from StringParam

#argument_require, #initialize

Methods included from AssLauncher::Enterprise::Cli::Parameters

#add_child, #child?, #childs, #chose_list, #deep, #full_name, #match?, #match_version?, #parents, #required?, #restrict_from, #root?, #switch_list, #switch_value, #to_s, #to_sym, #usage, #value_validator

Constructor Details

This class inherits a constructor from AssLauncher::Enterprise::Cli::Parameters::StringParam

Instance Method Details

#arguments_countObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Count of parameter argumets



332
333
334
# File 'lib/ass_launcher/enterprise/cli/parameters.rb', line 332

def arguments_count
  0
end

#to_args(_ = nil) ⇒ Array<String>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns self as 1C:Enterprise CLI argumets array like [“/Flag”, “”]

Parameters:

Returns:



327
328
329
# File 'lib/ass_launcher/enterprise/cli/parameters.rb', line 327

def to_args(_ = nil)
  super ''
end