a guest Apr 23rd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- my_name = "Renata"
- def greeting # here we say def to define a method and put the name of our method
- puts "Please enter your name:"
- name = gets.chomp
- puts "Hello" + " " + name
RAW Paste Data