class Dry::Types::Hash::Constructor

Public Instance Methods

constructor_type() click to toggle source

@api private

# File lib/dry/types/hash/constructor.rb, line 11
def constructor_type
  ::Dry::Types::Hash::Constructor
end
lax() click to toggle source

@return [Lax]

@api public

# File lib/dry/types/hash/constructor.rb, line 18
def lax
  type.lax.constructor(fn, meta: meta)
end
schema(...) click to toggle source

@see Dry::Types::Array#of

@api public

# File lib/dry/types/hash/constructor.rb, line 25
def schema(...)
  type.schema(...).constructor(fn, meta: meta)
end