From 2bbf60127a3a72b492203679f3924251d1c7109c Mon Sep 17 00:00:00 2001 From: birbalds Date: Thu, 9 Feb 2017 09:40:21 -0800 Subject: [PATCH] Create random_menu.rb --- random_menu.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 random_menu.rb diff --git a/random_menu.rb b/random_menu.rb new file mode 100644 index 0000000..05b8ba0 --- /dev/null +++ b/random_menu.rb @@ -0,0 +1,7 @@ +Color = %w(red blue green pink yellow orange grey purple brown black).freeze +Texture = ['Chewy', 'Tough', 'Soft', 'Hard', 'Soupy', 'Melt - In - Your - Mouth', 'Fluffy', 'Runny', 'Grainy', 'Dry'].freeze +Food = %w(steak meatballs salad cereal fish potatoes olives apples soylent cheese).freeze + +10. times do |i| + puts (i + 1).to_s + '. ' + Texture.sample + ' ' + Color.sample + ' ' + Food.sample +end