diff --git a/lib/introduction.rb b/lib/introduction.rb index 2b78f015..5864e4da 100644 --- a/lib/introduction.rb +++ b/lib/introduction.rb @@ -1,7 +1,15 @@ -# Write your code here. If you get stuck, at the very bottom of this lab we've included -# 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, Ruby) + puts "Hi my name is #{name} and I am learning to program in #{language}." +end +