From bc26eec7fc78560f9c84a7a4e7533f6db4f4964c Mon Sep 17 00:00:00 2001 From: Ian King Date: Sun, 24 May 2020 12:33:24 +0000 Subject: [PATCH] Done. --- lib/introduction.rb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/introduction.rb b/lib/introduction.rb index 2b78f015..0f4c5320 100644 --- a/lib/introduction.rb +++ b/lib/introduction.rb @@ -4,10 +4,17 @@ # 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