class Anthropic::Internal::Type::HashOf
def self.[](type_info, spec = {}) = new(type_info, spec)
(**spec)
-
:"nil?"
(Boolean
) -- -
:union
(Proc
) -- -
:enum
(Proc
) -- -
:const
(NilClass, TrueClass, FalseClass, Integer, Float, Symbol
) --
Parameters:
-
spec
(Hash{Symbol=>Object}
) -- . -
type_info
(Hash{Symbol=>Object}, Proc, Anthropic::Internal::Type::Converter, Class
) --
def self.[](type_info, spec = {}) = new(type_info, spec)