Code:
print "What is your name? "
# This asks for the persons name.
name = gets
# This Grabs the persons name and assigns it to a variable.
puts " Your Name Is "
puts name
# This tells the person there name.
nfh = File.new("names.out", "w")
# this creates the log file.
nfh.puts name
nfh.close
# This puts there name in the log file that was created.
print "What Is your email Address? "
# this asks the user what there email is.
email = gets
# this gets the email address that they put, and assigns it to a variable.
puts " Your email Address is "
puts email
# this tells them the email address that they put in.
efh = File.new("email.out", "w")
# This creates the log file.
efh.puts email
efh.close
# This puts there email address in the log file.
print "What is your Age? "
# This asks for there Age.
age = gets
# This grabs there age, and assigns it to a variable.
puts " You are "
puts age
puts " years of age "
# This tells them there age.
afh = File.new("age.out", "w")
# This creates the log file.
afh.puts age
afh.close
# this creates the log file.
print "Do you want to know the answers you just typed? "
# Asks them a question.
answer = gets
# Grabs the answer and assigns it to a variable
puts "So your name Email and age are: "
# Tells them something.
print "Your name is: "
print name
# Tells them there name.
print "Your email is: "
print email
# Tells them there email.
print "Your age is: "
print age
# Tells them there age.

It's my first program it may not be much but im happy
What yall think :-P Haha