class SmartCore::Schema::Checker::Rules::Required
@api private @since 0.1.0 @version 0.3.0
Attributes
requirement[R]
@return [SmartCore::Schema::Checker::Rules::Requirement::Required]
@api private @since 0.1.0
Public Class Methods
new(root_reconciler, schema_key, &nested_definitions)
click to toggle source
@param root_reconciler [SmartCore::Schema::Checker::Reconciler] @param schema_key [String, Symbol] @param nested_definitions [Block] @return [void]
@api private @since 0.1.0 @version 0.3.0
Calls superclass method
SmartCore::Schema::Checker::Rules::Base::new
# 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