Class: Qonfig::Validation::Building::InstanceBuilder::AttributesConsistency Private
- Inherits:
-
Object
- Object
- Qonfig::Validation::Building::InstanceBuilder::AttributesConsistency
- Defined in:
- lib/qonfig/validation/building/instance_builder/attribute_consistency.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.
rubocop:disable Metrics/ClassLength
Class Method Summary collapse
Instance Method Summary collapse
- #check! ⇒ void private
- #initialize(setting_key_pattern, predefined_validator, runtime_validation_method, strict, validation_logic) ⇒ void constructor private
Constructor Details
#initialize(setting_key_pattern, predefined_validator, runtime_validation_method, strict, validation_logic) ⇒ void
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.
42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/qonfig/validation/building/instance_builder/attribute_consistency.rb', line 42 def initialize( setting_key_pattern, predefined_validator, runtime_validation_method, strict, validation_logic ) @setting_key_pattern = setting_key_pattern @predefined_validator = predefined_validator @runtime_validation_method = runtime_validation_method @strict = strict @validation_logic = validation_logic end |
Class Method Details
.check!(setting_key_pattern, predefined_validator, runtime_validation_method, strict, validation_logic) ⇒ void
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.
This method returns an undefined value.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/qonfig/validation/building/instance_builder/attribute_consistency.rb', line 17 def check!( setting_key_pattern, predefined_validator, runtime_validation_method, strict, validation_logic ) new( setting_key_pattern, predefined_validator, runtime_validation_method, strict, validation_logic ).check! end |
Instance Method Details
#check! ⇒ void
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.
This method returns an undefined value.
62 63 64 65 66 67 68 69 |
# File 'lib/qonfig/validation/building/instance_builder/attribute_consistency.rb', line 62 def check! consistent_strict_behaviour! consistent_method_choice! consistent_predefined_validator! cosnistent_runtime_validation_method! consistent_validation_logic! consistent_setting_key_pattern! end |