module Crygen::Modules::Arg

Overview

Module that is used to store and add the arguments.

Direct including types

Defined in:

modules/arg.cr

Instance Method Summary

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.

[View source]
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.

[View source]
def generate_args : String #

Generate the args. Returns: String.


[View source]