struct Mint::Formatter::NestedString

Overview

Describes a group of items where the leading whitespace is set to a fixed amount (on top of the current indentation).

Defined in:

formatter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(items : Array(String | Nodes), indentation : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(items _items = @items, indentation _indentation = @indentation) #

[View source]
def indentation : Int32 #

def items : Array(String | Nodes) #