Sha256: 60a49511f89abdc89567d1f3adedbb5da998207125de5a9d83e267965001eaef
Contents?: true
Size: 401 Bytes
Versions: 26
Compression:
Stored size: 401 Bytes
Contents
require 'forwardable' module Kafo module DataTypes class Scalar < DataType extend Forwardable def_delegators :@inner_type, :condition_value, :dump_default, :multivalued?, :typecast, :valid? def initialize @inner_type = DataTypes::Variant.new('Integer', 'Float', 'String', 'Boolean', 'Regexp') end end DataType.register_type('Scalar', Scalar) end end
Version data entries
26 entries across 26 versions & 1 rubygems