From 75dfd751cc3157ac13a66241d6edbec1a2aa0279 Mon Sep 17 00:00:00 2001 From: Roger Robertson Jr Date: Thu, 23 Jan 2020 18:35:06 +0000 Subject: [PATCH] Done. --- lib/introduction.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/introduction.rb b/lib/introduction.rb index 2b78f01..59cb3f1 100644 --- a/lib/introduction.rb +++ b/lib/introduction.rb @@ -2,8 +2,17 @@ # the answers. You should ONLY check those answers if you get totally stuck. The important # 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