Class: Kafo::DataTypes::TypeReference

Inherits:
Kafo::DataType show all
Extended by:
Forwardable
Defined in:
lib/kafo/data_types/type_reference.rb

Instance Method Summary collapse

Methods inherited from Kafo::DataType

#condition_value, #dump_default, #multivalued?, new_from_string, parse_hash, register_type, split_arguments, #to_s, #typecast, types, unregister_type, #valid?

Constructor Details

#initialize(inner_type) ⇒ TypeReference

Returns a new instance of TypeReference.



9
10
11
# File 'lib/kafo/data_types/type_reference.rb', line 9

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