From: Max Ischenko Date: 2001-03-02T22:10:02+09:00 Subject: [ruby-talk:11896] Re: rewrite with Ruby At Fri, 2 Mar 2001 20:46:37 +0900 ts wrote: >>>>>> "M" == Max Ischenko writes: > M> def patchFile(fname, &block) > M> IO.foreach(fname) block > ^^^^^ > &block > M> end > > You have forgotten `&' It works, but do not make changes to the file itself. > Guy Decoux -- Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing. -- Dick Brandon