Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions lib/introduction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@
# 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



Expand Down