Class: Kafo::DataTypes::TypeReference
- Inherits:
-
Kafo::DataType
- Object
- Kafo::DataType
- Kafo::DataTypes::TypeReference
- Extended by:
- Forwardable
- Defined in:
- lib/kafo/data_types/type_reference.rb
Instance Method Summary collapse
-
#initialize(inner_type) ⇒ TypeReference
constructor
A new instance of TypeReference.
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 |