Method: UUID#clock
- Defined in:
- lib/cast_off/compile/namespace/uuid.rb
#clock ⇒ Object
The clock sequence of this UUID
239 240 241 242 243 244 245 246 |
# File 'lib/cast_off/compile/namespace/uuid.rb', line 239 def clock a = unpack ch = a[3] & 0b0001_1111 cl = a[4] c = cl c += ch << 8 c end |