From: Daniel Berger Date: 2007-06-12T04:55:11+09:00 Subject: Re: Ruby way to update a file in place On Jun 11, 1:42 pm, Li Chen wrote: > Hi all, > > I just wonder what is the Ruby way to update a file in place. Do I need > to open a temporary/new file for writing and then rename the temporary > file? That's the usual way. The other way is to use mmap. Regards, Dan