Sha256: cd3777d57d6bd7445524a299b29d79f6847081ee1a9f334c2cba303e910f0b12
Contents?: true
Size: 331 Bytes
Versions: 123
Compression:
Stored size: 331 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) &.(type, schema_builder) end end
Version data entries
123 entries across 123 versions & 1 rubygems