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