Class: Kafo::DataTypes::Scalar

Inherits:
Kafo::DataType show all
Extended by:
Forwardable
Defined in:
lib/kafo/data_types/scalar.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

#initializeScalar

Returns a new instance of Scalar.



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

def initialize
  @inner_type = DataTypes::WrappedDataType.new('Integer', 'Float', 'String', 'Boolean', 'Regexp')
end