Class: Fig::Command::Action::UpdateIfMissing
- Inherits:
-
Object
- Object
- Fig::Command::Action::UpdateIfMissing
- Includes:
- Fig::Command::Action, Role::HasNoSubAction, Role::Update
- Defined in:
- lib/fig/command/action/update_if_missing.rb
Constant Summary
Constants included from Fig::Command::Action
Instance Attribute Summary
Attributes included from Fig::Command::Action
Instance Method Summary collapse
Methods included from Role::Update
#allow_both_descriptor_and_file?, #apply_base_config?, #apply_config?, #descriptor_requirement, #execute, #load_base_package?, #modifies_repository?, #register_base_package?, #remote_operation_necessary?, #retrieves_should_happen?
Methods included from Role::HasNoSubAction
Methods included from Fig::Command::Action
#allow_both_descriptor_and_file?, #apply_base_config?, #apply_config?, #base_package_can_come_from_descriptor?, #cares_about_asset_options?, #configure, #descriptor_requirement, #execute, #execute_immediately_after_command_line_parse?, #list_dependencies?, #list_variables?, #load_base_package?, #modifies_repository?, #primary_option, #publish?, #register_base_package?, #remote_operation_necessary?, #reset_environment?, #retrieves_should_happen?
Instance Method Details
#options ⇒ Object
16 17 18 |
# File 'lib/fig/command/action/update_if_missing.rb', line 16 def () return %w<--update-if-missing> end |
#prepare_repository(repository) ⇒ Object
20 21 22 23 24 |
# File 'lib/fig/command/action/update_if_missing.rb', line 20 def prepare_repository(repository) repository.update_if_missing return end |