Created
June 22, 2015 03:50
-
-
Save JonFranchi/1aaae63fba242a4ca60f to your computer and use it in GitHub Desktop.
Learning Ruby
This file contains hidden or 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
def greeting | |
puts "Please Enter Your Name:" #comment syntax is less fun than others. | |
name = gets.chomp | |
puts "Hello" + " " + name | |
end | |
greeting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment