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) : self
Add an argument with default value.
-
#add_instance_var(name : String, type : String) : self
Add an argument with no default value.
-
#generate_instance_vars : String
Generate the instance vars.
Instance Method Detail
def add_instance_var(name : String, type : String, value : String) : self
#
Add an argument with default value. Parameters:
- name : String
- type : String
- value : String Returns: an object class itself.
def add_instance_var(name : String, type : String) : self
#
Add an argument with no default value. Parameters:
- name : String
- type : String Returns: an object class itself.