module ULID

Extended Modules

Defined in:

ulid.cr
ulid/version.cr

Constant Summary

VERSION = "0.1.0"

Instance Method Summary

Instance Method Detail

def generate(seed_time : Time = Time.now) : String #

Generate a ULID

ULID.generate
# => "01B3EAF48P97R8MP9WS6MHDTZ3"

[View source]