class Crygen::Utils::Indentation

Overview

The static class that enables to control the indentation of the code. This is useful when we create the nested objects (for example: class in a class and struct in a struct).

Defined in:

utils/indentation.cr

Class Method Summary

Class Method Detail

def self.add_indent(size : Number = 2) : Void #

Add indentation


[View source]
def self.generate : String #

[View source]
def self.remove_indent(size : Number = 2) : Void #

[View source]
def self.reset : Void #

[View source]