Sha256: c6812b2b0eb09707076a7c24a7697e1a67844f1a53cf57ec67802d328d7f4ad9
Contents?: true
Size: 391 Bytes
Versions: 5
Compression:
Stored size: 391 Bytes
Contents
class Fab # Fab a random UUID. # # Options: # # * none # # @returns [String] a random UUID sting # def uuid(options = {}) SecureRandom.uuid end # Fab a list of random UUIDs. # # Options: # # * size: 3 # # @returns [Array[String]] a list of random UUIDs # def uuids(options = {}) (options[:size] || 3).times.map{ uuid(options) } end end
Version data entries
5 entries across 5 versions & 1 rubygems