From: Damphyr Date: 2005-11-24T18:31:08+09:00 Subject: Re: Pickaxe tutorial section missing info on writing to files Greg Gibson wrote: > The Pickaxe seems to be missing an example (or two) about how to write a > file in Ruby (pgs 23 and 131) so I used the PLEAC. I have now been > forbidden, by my friend, Greg Brown, from learning Ruby using Perl > conventions. > You mean File.open("test.txt","w"){|f| f<<"Writing lot's of stuff to file" } ? Check IO and File in the Reference of the Pickaxe or http://www.ruby-doc.org/core/ It's really very, very simple. V.- -- http://www.braveworld.net/riva ____________________________________________________________________ http://www.freemail.gr - ������ �������� ������������ ������������. http://www.freemail.gr - free email service for the Greek-speaking.