Class: Dry::Schema::Macros::Hash Private

Inherits:
Dry::Schema show all
Defined in:
lib/dry/schema/macros/hash.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.

Macro used to specify a nested schema

Constant Summary

Constants included from Dry::Schema

DEFAULT_MESSAGES_PATH, DEFAULT_MESSAGES_ROOT, DOT, InvalidSchemaError, LIST_SEPARATOR, Dry::Schema::MissingMessageError, QUESTION_MARK, VERSION

Instance Method Summary collapse

Methods included from Dry::Schema

JSON, Params, define

Instance Method Details

#call(*args, &block) ⇒ 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
16
# File 'lib/dry/schema/macros/hash.rb', line 13

def call(*args, &block)
  trace << hash?
  super(*args, &block)
end