From 46c4d49825eebc20d5c9e2e82dbcbedca4c1a354 Mon Sep 17 00:00:00 2001 From: Ian King Date: Thu, 22 Apr 2021 15:22:19 +0000 Subject: [PATCH] Done. --- lib/introduction.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/introduction.rb b/lib/introduction.rb index 2b78f015..2cbab2f4 100644 --- a/lib/introduction.rb +++ b/lib/introduction.rb @@ -3,14 +3,20 @@ # thing is NOT to "complete labs," the important thing is to learn the skills you need # in order to complete the rest of this course and be ready for the next course! +def introduction(name) + puts "Hi, my name is #{name}." +end +def introduction_with_language(name, language) + puts "Hi, my name is #{name} and I am learning to program in #{language}." +end - - - +def introduction_with_language_optional(name, language = "Ruby") + puts "Hi, my name is #{name} and I am learning to program in #{language}." +end