Class: Qonfig::Validator::Builder::AttributeConsistency Private
- Inherits:
-
Object
- Object
- Qonfig::Validator::Builder::AttributeConsistency
- Defined in:
- lib/qonfig/validator/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.
Class Method Summary collapse
Instance Method Summary collapse
- #check! ⇒ void private
- #initialize(setting_key_pattern, predefined_validator, runtime_validation_method, validation_logic) ⇒ void constructor private
Constructor Details
#initialize(setting_key_pattern, predefined_validator, runtime_validation_method, 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.
38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/qonfig/validator/builder/attribute_consistency.rb', line 38 def initialize( setting_key_pattern, predefined_validator, runtime_validation_method, validation_logic ) @setting_key_pattern = setting_key_pattern @predefined_validator = predefined_validator @runtime_validation_method = runtime_validation_method @validation_logic = validation_logic end |
Class Method Details
.check!(setting_key_pattern, predefined_validator, runtime_validation_method, 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.
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/qonfig/validator/builder/attribute_consistency.rb', line 15 def check!( setting_key_pattern, predefined_validator, runtime_validation_method, validation_logic ) new( setting_key_pattern, predefined_validator, runtime_validation_method, 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.
56 57 58 59 60 61 62 |
# File 'lib/qonfig/validator/builder/attribute_consistency.rb', line 56 def check! consistent_method_choice! consistent_predefined_validator! cosnistent_runtime_validation_method! consistent_validation_logic! consistent_setting_key_pattern! end |