Created
October 19, 2016 19:26
-
-
Save kajatiger/def349681aa3faf08f40d674b7c89916 to your computer and use it in GitHub Desktop.
simple ruby def
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
def greeting | |
puts "please enter your name" | |
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