Sha256: be44877357f8e377d3efdc01cd0efc9fb3c85c9f3ffdc22304f68dbb299f0bb8
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true class ReeSwagger::GetCasterDefinition include Ree::FnDSL fn :get_caster_definition do link :type_definitions_repo end contract(Any, Proc => Nilor[Hash]) def call(type, schema_builder) type_definitions_repo .dig(:casters, type.class.name) &.(type, schema_builder) end end
Version data entries
3 entries across 3 versions & 1 rubygems