Sha256: a2b409a831ce526c126213fccdebdb0011feb89b718e8e3979e34351251d3fff

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

require 'dry/schema/macros/schema'

module Dry
  module Schema
    module Macros
      # Macro used to specify a nested schema
      #
      # @api public
      class Hash < Schema
        # @api private
        def call(*args, &block)
          trace << hash?
          super(*args, &block)
          self
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-schema-0.2.0 lib/dry/schema/macros/hash.rb