Created
November 1, 2013 15:09
-
-
Save anonymous/7266853 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 'Hello there, and what\'s your name?' | |
name = gets.chomp | |
puts 'Your name is ' + name + '? What a lovely name!' | |
puts 'Pleased to meet you, ' + name + '. :)' |
Hello there, and what's your name?
Andrew
Your name is Andrew
? What a lovely name!
Pleased to meet you, Andrew
. :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
working for me. Outputs: