Sha256: c11f297a23759bd6660d6ddf777405e055391e24db14a9ecb2805e5a66707247
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
module Avro module Builder module Types # Base class for simple types. The type name is specified when the # type is constructed. The type has no additional attributes, and # the type is serialized as just the type name. class Type include Avro::Builder::DslAttributes attr_reader :type_name attr_accessor :field, :builder def initialize(type_name) @type_name = type_name end def serialize(_reference_state) type_name end def namespace nil end def configure_options(_options = {}) # No-op end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
avro-builder-0.1.0 | lib/avro/builder/types/type.rb |