Method: UUIDv9.random_bytes

Defined in:
lib/uuid-v9.rb

.random_bytes(count) ⇒ Object



48
49
50
# File 'lib/uuid-v9.rb', line 48

def self.random_bytes(count)
  Array.new(count) { rand(0..15).to_s(16) }.join
end