Created
January 5, 2023 15:16
-
-
Save dorianmariecom/929fa5cfb5ea4a537a12b4e5945187d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/helloworld.rb b/helloworld.rb | |
index 4545ae5..fbe9b63 100644 | |
--- a/helloworld.rb | |
+++ b/helloworld.rb | |
@@ -25,12 +25,13 @@ class Helloworld | |
puts "Hi from:" | |
end | |
- def say_hello(person, location) | |
- puts "#{person}, #{location}" | |
+ def say_hello(person, location, flag) | |
+ puts "🐦 #{person} 📌 #{location} #{flag} : https://twitter.com/#{person[1..]}" | |
end | |
end | |
hi = Helloworld.new | |
-hi.say_hello("@alterisian", "Málaga, Spain") | |
+hi.say_hello("@alterisian", "Málaga, Spain", "🇪🇸") | |
+hi.say_hello("@dorianmariefr", "Paris, France", "🇫🇷") | |
#TODO - January - add your call to hi.say_hello above this line. Keep this line. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment