module Crygen::Modules::Arg
Overview
Module that is used to store and add the arguments.
Direct including types
Defined in:
modules/arg.crInstance Method Summary
-
#add_arg(name : String, type : String, value : String) : self
Add an argument with default value.
-
#add_arg(name : String, type : String) : self
Add an argument with no default value.
-
#generate_args : String
Generate the args.
Instance Method Detail
def add_arg(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_arg(name : String, type : String) : self
#
Add an argument with no default value. Parameters:
- name : String
- type : String Returns: an object class itself.