class SwiftGenerator::SwiftInitializer
Public Class Methods
new(swift_element, name, argStr, override: false, comment: nil)
click to toggle source
Calls superclass method
SwiftGenerator::SwiftMethodBase::new
# File lib/swift_generator/code_generation/swift_class_generation.rb, line 1405 def initialize (swift_element, name, argStr, override: false, comment: nil) super(swift_element, name, argStr, nil, override:override, comment:comment) swift_element.initializers << self end
Public Instance Methods
func_fragment()
click to toggle source
# File lib/swift_generator/code_generation/swift_class_generation.rb, line 1410 def func_fragment() return [*func_qualifiers].join( ' ' ) end