Method: Qonfig::Validation::Validators::MethodBased#initialize

Defined in:
lib/qonfig/validation/validators/method_based.rb

#initialize(setting_key_matcher, strict, runtime_validation_method) ⇒ 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.

Parameters:

Since:

  • 0.20.0



19
20
21
22
# File 'lib/qonfig/validation/validators/method_based.rb', line 19

def initialize(setting_key_matcher, strict, runtime_validation_method)
  super(setting_key_matcher, strict)
  @runtime_validation_method = runtime_validation_method
end