Class: Dry::Schema::Macros::Required
- Defined in:
- lib/dry/schema/macros/required.rb
Overview
A Key specialization used for keys that must be present
Instance Attribute Summary
Attributes inherited from Key
#filter_schema, #predicate_inferrer
Instance Method Summary collapse
- #operation ⇒ Object private
Methods inherited from Key
#filled, #filter, #maybe, #to_ast, #to_rule, #type, #value
Methods inherited from DSL
#array, #each, #filled, #hash, #schema, #value
Methods inherited from Core
Instance Method Details
#operation ⇒ Object
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.
13 14 15 |
# File 'lib/dry/schema/macros/required.rb', line 13 def operation :and end |