1
0

Allow variable sample data size

This commit is contained in:
Tim Kächele 2023-09-07 12:42:57 +02:00
parent f691962698
commit ea8bce73ee

View File

@ -5,7 +5,7 @@ sizes = ["S", "M", "L"]
date = Date.today date = Date.today
10_000_000.times do |i| (ARGV[0].to_i).times do |i|
puts "#{(date + i).strftime("%Y-%m-%d")} #{sizes.sample} #{providers.sample}" puts "#{(date + i).strftime("%Y-%m-%d")} #{sizes.sample} #{providers.sample}"
end end