From 6f6be8eb3cebeeac8011e771ea9052b6dee7010d Mon Sep 17 00:00:00 2001 From: Cody Alvarez Date: Wed, 26 Feb 2020 22:03:49 +0000 Subject: [PATCH 1/2] Done. --- lib/meal_choice.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/meal_choice.rb b/lib/meal_choice.rb index 95220c42..1b3f4353 100644 --- a/lib/meal_choice.rb +++ b/lib/meal_choice.rb @@ -1,2 +1,4 @@ -# Your code here -# For output purposes, use "puts" instead of "print" or "p" \ No newline at end of file +def meal_choice(veg1, veg2, protien="meat") + puts "What a nutritious meal." + puts "A plate of #{protien} with #{veg1} and #{veg2}." +end From 340c8d88e41cc8a975d4709e236df3f8f5104600 Mon Sep 17 00:00:00 2001 From: Cody Alvarez Date: Wed, 26 Feb 2020 22:16:53 +0000 Subject: [PATCH 2/2] Done. --- lib/meal_choice.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/meal_choice.rb b/lib/meal_choice.rb index 1b3f4353..8d46a1a3 100644 --- a/lib/meal_choice.rb +++ b/lib/meal_choice.rb @@ -1,4 +1,5 @@ -def meal_choice(veg1, veg2, protien="meat") - puts "What a nutritious meal." - puts "A plate of #{protien} with #{veg1} and #{veg2}." +def meal_choice(veg1, veg2, protein = "meat") + puts "What a nutritious meal!" + puts "A plate of #{protein} with #{veg1} and #{veg2}." + return "A plate of #{protein} with #{veg1} and #{veg2}." end