Subject: Re: word substitution in file
From: Paul Lutus <nospam nosite.zzz>
Date: Fri, 8 Sep 2006 04:05:15 +0900
References: 213036213175
Paul Lutus wrote:
> File.open(dest) { |f| f.write(result) } if data != result
s/File.open(dest)/File.open(dest,"w")/
Also "not tested!". That may seem obvious at this point.
--
Paul Lutus
http://www.arachnoid.com