class ULID::MonotonicFactory
- ULID::MonotonicFactory
- ULID::Factory
- Reference
- Object
Defined in:
ulid.crConstructors
Instance Method Summary
-
#gen_rand(seed_time : Time) : UInt128
returns a random UInt128 with the high-order 48 bits zeroed out
Instance methods inherited from class ULID::Factory
gen_rand(seed_time : Time) : UInt128
gen_rand,
gen_time(time : Time) : UInt64
gen_time,
rand128 : UInt128
rand128,
random : Random
random,
random=(random : Random)
random=,
string(seed_time : Time = Time.utc) : String
string,
uint(seed_time : Time = Time.utc) : UInt128
uint,
ulid(seed_time : Time = Time.utc) : ULID
ulid,
uuid(seed_time : Time = Time.utc) : UUID
uuid
Constructor methods inherited from class ULID::Factory
new(random : Random = Random.new)
new
Constructor Detail
Instance Method Detail
def gen_rand(seed_time : Time) : UInt128
#
returns a random UInt128 with the high-order 48 bits zeroed out