From 1a75d0214ec4d823956a76e4b2532b4e76a09580 Mon Sep 17 00:00:00 2001 From: Antonio Clavijo Cortes Date: Fri, 3 Apr 2020 23:42:44 +0000 Subject: [PATCH] Done. --- lib/introduction.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/introduction.rb b/lib/introduction.rb index 2b78f015..0211bf99 100644 --- a/lib/introduction.rb +++ b/lib/introduction.rb @@ -4,11 +4,19 @@ # 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