Class: Qonfig::Validator::Basic Private
- Inherits:
-
Object
- Object
- Qonfig::Validator::Basic
- Defined in:
- lib/qonfig/validator/basic.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.
Direct Known Subclasses
Instance Attribute Summary collapse
- #setting_key_matcher ⇒ String, ... readonly private
Instance Method Summary collapse
- #initialize(setting_key_matcher) ⇒ void constructor private
- #validate(data_set) ⇒ Boolean private
Constructor Details
#initialize(setting_key_matcher) ⇒ 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.
17 18 19 |
# File 'lib/qonfig/validator/basic.rb', line 17 def initialize(setting_key_matcher) @setting_key_matcher = setting_key_matcher end |
Instance Attribute Details
#setting_key_matcher ⇒ String, ... (readonly)
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.
10 11 12 |
# File 'lib/qonfig/validator/basic.rb', line 10 def setting_key_matcher @setting_key_matcher end |
Instance Method Details
#validate(data_set) ⇒ Boolean
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.
26 27 28 |
# File 'lib/qonfig/validator/basic.rb', line 26 def validate(data_set) setting_key_provided? ? validate_concrete(data_set) : validate_full(data_set) end |