Class: HammerCLIKatello::OptionSources::LifecycleEnvironmentParams
- Inherits:
-
HammerCLI::Options::Sources::Base
- Object
- HammerCLI::Options::Sources::Base
- HammerCLIKatello::OptionSources::LifecycleEnvironmentParams
- Defined in:
- lib/hammer_cli_katello/option_sources/lifecycle_environment_params.rb
Instance Method Summary collapse
- #get_options(_defined_options, result) ⇒ Object
-
#initialize(command) ⇒ LifecycleEnvironmentParams
constructor
A new instance of LifecycleEnvironmentParams.
Constructor Details
#initialize(command) ⇒ LifecycleEnvironmentParams
Returns a new instance of LifecycleEnvironmentParams.
4 5 6 |
# File 'lib/hammer_cli_katello/option_sources/lifecycle_environment_params.rb', line 4 def initialize(command) @command = command end |
Instance Method Details
#get_options(_defined_options, result) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/hammer_cli_katello/option_sources/lifecycle_environment_params.rb', line 8 def (, result) legacy_option_id(result) legacy_option_ids(result) ensure_option_id(result) ensure_option_ids(result) result end |