class SwiftObjectPropertyType

Attributes

swift_class[RW]

Public Class Methods

new( swift_class, serialized_json_type, test_value:lambda{|num| 'undefined' } ) click to toggle source
Calls superclass method SwiftPropertyType::new
# File lib/swift_generator/code_generation/swift_types.rb, line 69
def initialize( swift_class, serialized_json_type, test_value:lambda{|num| 'undefined' }  )
        super( swift_class.swift_type_symbol, serialized_json_type, swift_kind: :class, test_value:test_value )
        @swift_class = swift_class
end