From: Mikel Lindsaar Date: 2007-12-27T16:39:53+09:00 Subject: Re: Saving files to harddrive On Dec 27, 2007 5:30 PM, Corbin Smith wrote: > I'm wondering if it's possible to save a file to a harddrive with Ruby. Of course $ irb irb> text = "Hello world\n" => "Hello world\n" irb> File.open("mytestfile.txt", "w") { |f| f.write(text) } => 12 irb> exit $ cat mytestfile.txt Hello World $ That is "saving a file" Mikel