Class: SmartCore::Schema::Checker::Rules::Required Private
- Defined in:
- lib/smart_core/schema/checker/rules/required.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.
Instance Attribute Summary collapse
Attributes inherited from Base
#nested_reconciler, #options, #root_reconciler, #schema_key
Instance Method Summary collapse
- #initialize(root_reconciler, schema_key, &nested_definitions) ⇒ void constructor private
Methods inherited from Base
Constructor Details
#initialize(root_reconciler, schema_key, &nested_definitions) ⇒ 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.
21 22 23 24 |
# File 'lib/smart_core/schema/checker/rules/required.rb', line 21 def initialize(root_reconciler, schema_key, &nested_definitions) super(root_reconciler, schema_key, &nested_definitions) @requirement = SmartCore::Schema::Checker::Rules::Requirement::Required.new(self) end |
Instance Attribute Details
#requirement ⇒ SmartCore::Schema::Checker::Rules::Requirement::Required (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.
11 12 13 |
# File 'lib/smart_core/schema/checker/rules/required.rb', line 11 def requirement @requirement end |