module Ktistec::Util

Extended Modules

Defined in:

framework/util.cr

Instance Method Summary

Instance Method Detail

def id #

Generates a random, URL-safe identifier.

64 bits should ensure it takes about 5 billion attempts to generate a collision.


[View source]
def pluralize(noun) #

Pluralizes a singular noun.


[View source]
def sanitize(content) #

Cleans up the content we receive from others.


[View source]