From: James Gray Date: 2005-11-25T01:26:47+09:00 Subject: Re: Pickaxe tutorial section missing info on writing to file damphyr wrote: > You mean > > File.open("test.txt","w"){|f| > f<<"Writing lot's of stuff to file" > } Using puts is probably easier, for line oriented data: File.open("data.txt", "w") do |file| file.puts "Line of date here." file.puts "Another line." end Hope that helps. James Edward Gray II -- Posted via http://www.ruby-forum.com/.