--_5df947b4-a7d0-4aaf-8d39-9e76d8479b56_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Take a look at http://www.oldkingjames.org it has Ruby lessons for beginners in Learn to program and there are a couple of pages that deal with the File modes r r+ w w+ a a+ b used to write to files.
 
> Date: Tue, 3 May 2011 02:37:40 +0900
> From: mlc0613 / yahoo.com
> Subject: Writing to a file
> To: ruby-talk / ruby-lang.org
> 
> Hey guys, can anyone explain how to write to a file in Ruby?
> 
> Thanks,
> 
> Mike
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
 		 	   		  -_5df947b4-a7d0-4aaf-8d39-9e76d8479b56_--