Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions random_menu.rb
Original file line number Diff line number Diff line change
@@ -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