From: Peter Vanderhaden Date: 2007-10-01T01:19:59+09:00 Subject: Re: Newbie needs help getting user input 7stud, Thanks! This is obviously much better than what I was doing! Being new to this type of language, I really appreciate the help! I do have one more question for you though. What's the difference between using file.puts & file.print? 7stud -- wrote: > 7stud -- wrote: >> >> 2) >> f = File.open("data.txt", "w") do |file| >> file.puts("goodbye mars") >> end > > Whoops, too slow. And I had some detritus stuck to the front of that > example anyway. It should be: > > 2) > File.open("data.txt", "w") do |file| > file.puts("goodbye venus") > end -- Posted via http://www.ruby-forum.com/.