Class: Qonfig::Validation::Building::PredefinedBuilder Private
- Inherits:
-
Object
- Object
- Qonfig::Validation::Building::PredefinedBuilder
- Defined in:
- lib/qonfig/validation/building/predefined_builder.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
- #build ⇒ void private
- #initialize(name, validation_logic, predefined_registry) ⇒ void constructor private
Constructor Details
#initialize(name, validation_logic, predefined_registry) ⇒ 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.
26 27 28 29 30 |
# File 'lib/qonfig/validation/building/predefined_builder.rb', line 26 def initialize(name, validation_logic, predefined_registry) @name = name @validation_logic = validation_logic @predefined_registry = predefined_registry end |
Class Method Details
.build(name, validation_logic, predefined_registry) ⇒ 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.
14 15 16 |
# File 'lib/qonfig/validation/building/predefined_builder.rb', line 14 def build(name, validation_logic, predefined_registry) new(name, validation_logic, predefined_registry).build end |
Instance Method Details
#build ⇒ 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.
36 37 38 39 |
# File 'lib/qonfig/validation/building/predefined_builder.rb', line 36 def build validate_attributes! predefine_validator end |