Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ulid
master
ULID
Factory
MonotonicFactory
UUID
V7Factory
Generated using Crystal 1.14.0
2024-11-26 07:35:03 UTC
struct
UUID
UUID
Struct
Value
Object
Overview
monkey patch UUID to support v7 UUIDs
Included Modules
Comparable(
UUID
)
Defined in:
lib/extlib/src/extlib.cr
ulid.cr
Class Method Summary
.uint
(seed_time : Time =
Time
.utc)
.v7
(seed_time : Time =
Time
.utc)
Instance Method Summary
#to_ulid
: ULID
Class Method Detail
def self.
uint
(seed_time : Time =
Time
.utc)
#
[
View source
]
def self.
v7
(seed_time : Time =
Time
.utc)
#
[
View source
]
Instance Method Detail
def
to_ulid
:
ULID
#
[
View source
]