Sha256: 3a2d0d11fead491fad38d4fc2bb97ccbcb7f2a391967d9f1af04acf948c0596c
Contents?: true
Size: 233 Bytes
Versions: 3
Compression:
Stored size: 233 Bytes
Contents
module PseudoUuidGenerator def uuid returning Array.new(32) { String.random_char } do |string| [8, 13, 18, 23].each do |index| string.insert index, '-' end end.join end end include PseudoUuidGenerator
Version data entries
3 entries across 3 versions & 2 rubygems