class Dry::Types::Hash::Constructor
Public Instance Methods
constructor_type()
click to toggle source
@api private
# File lib/dry/types/hash/constructor.rb, line 13 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 20 def lax type.lax.constructor(fn, meta: meta) end
schema(*args)
click to toggle source
@see Dry::Types::Array#of
@api public
# File lib/dry/types/hash/constructor.rb, line 27 def schema(*args) type.schema(*args).constructor(fn, meta: meta) end