-
-
Save videlais/d6aeff550c10f59ec721 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
puts "What is your name?" | |
name = gets.chomp | |
case name | |
when "Dan" | |
puts "Looks like your name is Dan. Neat!" | |
else | |
puts "You are not a Dan!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment