From: Stu Date: 2011-03-25T07:03:01+09:00 Subject: Re: Rewrite data to a file look at gsub. On Thu, Mar 24, 2011 at 3:29 PM, Joyce Lima wrote: > rewrite data to a file. > > I have a file with the following data > > 1!name!registration!login > > This means that 1 "is written on file" when > receive the login keyboard have to replace that > 1 0, which would be the logical exclusion. Does anyone know > how do you rewrite data in ruby? > > Thank you very much! > > -- > Posted via http://www.ruby-forum.com/. > >