Class: AssLauncher::Enterprise::Cli::Parameters::Skip 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.

Stub for define stupid or not importand parameters #to_args raises of SkippedError

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, #arguments_count, #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

#skip?Boolean

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:

  • (Boolean)


346
347
348
# File 'lib/ass_launcher/enterprise/cli/parameters.rb', line 346

def skip?
  true
end

#to_args(*values) ⇒ Object

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.



342
343
344
# File 'lib/ass_launcher/enterprise/cli/parameters.rb', line 342

def to_args(*values)
  fail SkippedError, "Parameter #{full_name} skipped and restricted for use"
end