module

Crygen::Modules::InstanceVar

Module that is used to store and add the instance variables.

Instance methods

add_instance_var(name : String, type : String, value : String | Nil = nil, annotations : Array(Crygen::Types::Annotation) | Nil = nil) : self

Adds an argument with default value.

Source
add_instance_var(name : String, type : String, value : String | Nil = nil, the_annotation : Crygen::Types::Annotation | Nil = nil) : self

Adds an argument with default value.

Source
generate_instance_vars

Generate the instance vars.

Source