module Avro::Builder::Types::TypeReferencer
This concern is used by Types
that reference other types.
Private Instance Methods
create_builtin_or_lookup_type(avro_type_or_name)
click to toggle source
# File lib/avro/builder/types/type_referencer.rb, line 15 def create_builtin_or_lookup_type(avro_type_or_name) # Find existing Type or build a new instance of a builtin Type using # the supplied block type_lookup(avro_type_or_name) do |avro_type_name| create_builtin_type(avro_type_name, field: field, cache: cache) end end