Class: Dry::Schema::Macros::Required Private

Inherits:
Key
  • Object
show all
Defined in:
lib/dry/schema/macros/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.

A Key specialization used for keys that must be present

Instance Attribute Summary

Attributes inherited from Key

#filter_schema_dsl

Attributes inherited from DSL

#chain, #predicate_inferrer, #primitive_inferrer

Instance Method Summary collapse

Methods inherited from Key

#filter, #to_ast, #to_rule

Methods inherited from DSL

#array, #custom_type?, #each, #filled, #hash, #maybe, #schema, #type, #value

Methods inherited from Core

#new, #path, #to_ast, #to_rule

Instance Method Details

#operationObject

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/dry/schema/macros/required.rb', line 11

def operation
  :and
end