From: "lrlebron@..." Date: 2007-06-12T11:25:04+09:00 Subject: Re: Ruby way to update a file in place On Jun 11, 2: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? > > Thanks, > > Li > > -- > Posted viahttp://www.ruby-forum.com/. I've used the rio library for this before. http://rio.rubyforge.org/. The website has some very good examples on how to use it. Luis