Sha256: 03ff4d657652625e132c43ca347a37645705c9d63c51701e24a74959ba636e77
Contents?: true
Size: 506 Bytes
Versions: 2
Compression:
Stored size: 506 Bytes
Contents
require 'avro/builder/type_factory' module Avro module Builder module Types # This concern is used by Types that reference other types. module TypeReferencer include Avro::Builder::TypeFactory def create_builtin_or_lookup_named_type(type_name) if builtin_type?(type_name) create_builtin_type(type_name, field: field, cache: cache) else cache.lookup_named_type(type_name) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
avro-builder-0.6.0 | lib/avro/builder/types/type_referencer.rb |
avro-builder-0.5.0 | lib/avro/builder/types/type_referencer.rb |