module
Crygen::Modules::InstanceVar
Overview
Module that is used to store and add the instance variables.
Direct including types
Defined in:
modules/instance_var.crInstance Method Summary
-
#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.
-
#generate_instance_vars : String
Generate the instance vars.
Instance Method Detail
def 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.
def 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.