Method: Kafo::DataTypes::NotUndef#initialize
- Defined in:
- lib/kafo/data_types/not_undef.rb
#initialize(inner_type_or_value) ⇒ NotUndef
Returns a new instance of NotUndef.
10 11 12 13 14 15 16 17 18 |
# File 'lib/kafo/data_types/not_undef.rb', line 10 def initialize(inner_type_or_value) begin @inner_type = DataType.new_from_string(inner_type_or_value) @inner_value = nil rescue ConfigurationException @inner_type = nil @inner_value = inner_type_or_value end end |