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.
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.