Sha256: d84d5862a0de9116188ad269da0c97d1eb5066df15fe8fe099bf56ac7a1e85a5

Contents?: true

Size: 404 Bytes

Versions: 36

Compression:

Stored size: 404 Bytes

Contents

require 'forwardable'

module Kafo
  module DataTypes
    class TypeReference < DataType
      extend Forwardable
      def_delegators :@inner_type, :condition_value, :dump_default, :multivalued?, :to_s, :typecast, :valid?

      def initialize(inner_type)
        @inner_type = DataType.new_from_string(inner_type)
      end
    end

    DataType.register_type('TypeReference', TypeReference)
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
kafo-7.6.0 lib/kafo/data_types/type_reference.rb
kafo-7.5.1 lib/kafo/data_types/type_reference.rb
kafo-7.5.0 lib/kafo/data_types/type_reference.rb
kafo-7.4.0 lib/kafo/data_types/type_reference.rb
kafo-7.3.0 lib/kafo/data_types/type_reference.rb
kafo-7.2.0 lib/kafo/data_types/type_reference.rb
kafo-7.1.0 lib/kafo/data_types/type_reference.rb
kafo-7.0.0 lib/kafo/data_types/type_reference.rb
kafo-6.5.0 lib/kafo/data_types/type_reference.rb
kafo-6.4.1 lib/kafo/data_types/type_reference.rb
kafo-6.4.0 lib/kafo/data_types/type_reference.rb
kafo-6.3.0 lib/kafo/data_types/type_reference.rb
kafo-6.2.1 lib/kafo/data_types/type_reference.rb
kafo-6.2.0 lib/kafo/data_types/type_reference.rb
kafo-6.1.2 lib/kafo/data_types/type_reference.rb
kafo-6.1.1 lib/kafo/data_types/type_reference.rb
kafo-6.1.0 lib/kafo/data_types/type_reference.rb
kafo-6.0.0 lib/kafo/data_types/type_reference.rb
kafo-5.1.0 lib/kafo/data_types/type_reference.rb
kafo-5.0.1 lib/kafo/data_types/type_reference.rb