From: "Christopher D." Date: 2012-05-01T04:31:06+09:00 Subject: Writing a file to txt, how can I put a new line? I would like to create an error log for a application I have made. Here is my basic error log creator. My question: How do I get each part of the array on a new line? File::open( "Tal Creator Log" + ".txt", "w" ) do |txt| txt << "Finished Appending, the new files and a log is located in P:\\project\\" txt << "________________ ISSUES __________________" DNErep.reduce { |x| puts txt << x } DNEtemp.reduce { |y| puts txt << y } end I looked on google and SO and didn't find anything about the new line. I appreciate all time spent and look forward to your answers. -- Posted via http://www.ruby-forum.com/.