class

Mint::NamePool(T, B)

Inherits Reference < Object

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.

Constructors

new(initial : String = 'a'.pred.to_s)
Source

Instance methods

next_name(subject : T, base : B)
Source
of(subject : T, base : B)
Source