class Mint::NamePool(T, B)

Overview

This is a name pool. It returns a unique identifier for a given item of a given base item.

In Mint it's used to get variable names for blocks of selectors and CSS properties.

Defined in:

style_builder.cr

Constant Summary

INITIAL = 'a'.pred.to_s

Instance Method Summary

Instance Method Detail

def of(subject : T, base : B) #

[View source]