Class: UUID::V1

Inherits:
UUID4R::UUID4Rv1
  • Object
show all
Includes:
TemplateUUID4R
Defined in:
lib/uuid4r-candy.rb

Direct Known Subclasses

TimeStamp

Instance Method Summary collapse

Methods included from TemplateUUID4R

#to_b, #to_s, #to_txt

Instance Method Details

#clock_low_seqObject Also known as: random



28
29
30
# File 'lib/uuid4r-candy.rb', line 28

def clock_low_seq
  UUID.clock_low_seq(self)
end

#to_macObject



25
26
27
# File 'lib/uuid4r-candy.rb', line 25

def to_mac
  UUID.mac(self)
end

#to_timeObject



22
23
24
# File 'lib/uuid4r-candy.rb', line 22

def to_time
  UUID.time(self)
end