Class: PDK::Validate::ControlRepo::ControlRepoValidatorGroup
- Inherits:
-
ValidatorGroup
- Object
- Validator
- ValidatorGroup
- PDK::Validate::ControlRepo::ControlRepoValidatorGroup
- Defined in:
- lib/pdk/validate/control_repo/control_repo_validator_group.rb
Instance Attribute Summary
Attributes inherited from Validator
Instance Method Summary collapse
Methods inherited from ValidatorGroup
#invoke, #prepare_invoke!, #spinner, #spinner_text, #validator_instances
Methods inherited from Validator
#initialize, #invoke, #prepare_invoke!, #spinner, #spinner_text, #spinners_enabled?, #start_spinner, #stop_spinner
Constructor Details
This class inherits a constructor from PDK::Validate::Validator
Instance Method Details
#name ⇒ Object
7 8 9 |
# File 'lib/pdk/validate/control_repo/control_repo_validator_group.rb', line 7 def name 'control-repo' end |
#valid_in_context? ⇒ Boolean
11 12 13 |
# File 'lib/pdk/validate/control_repo/control_repo_validator_group.rb', line 11 def valid_in_context? context.is_a?(PDK::Context::ControlRepo) end |
#validators ⇒ Object
15 16 17 18 19 |
# File 'lib/pdk/validate/control_repo/control_repo_validator_group.rb', line 15 def validators [ EnvironmentConfValidator ].freeze end |