Skip to content

Instantly share code, notes, and snippets.

@livmaria7891
Created August 10, 2016 23:59
Show Gist options
  • Save livmaria7891/b0beddff34f4705f8cdd66bd85e68d8c to your computer and use it in GitHub Desktop.
Save livmaria7891/b0beddff34f4705f8cdd66bd85e68d8c to your computer and use it in GitHub Desktop.
adjectives = ["Hot","Soft","Juicy","Creamy","Pickled","Soupy","Spicy","Hard","Aromatic","Tart"]
cook_styles = ["Boiled","Roasted","Fried","Steamed","Baked","Creamed","Grilled","Frozen","Chopped","Boiled"]
food = ["Cake","Burritos","Apples","Crab Legs","Steak","Asparagus","Chicken","Pizza","Watermelon","Hunan Chicken"]
i=0
food.each do |food|
rand_num_adj = rand(10).floor
rand_num_styles = rand(10).floor
puts (i+1).to_s + ". #{adjectives[rand_num_adj]} #{cook_styles[rand_num_styles]} #{food}"
i+=1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment