module

Crygen::Modules::ClassVar

Module that is used to store class variables.

Instance methods

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

Adds a class var with default value.

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

Adds a class var with default value.

Source
generate_class_vars

Generate the class_vars.

Source