From: 7stud -- Date: 2008-02-18T15:55:19+09:00 Subject: Re: Help with Writing Replacement Text to Files Jeremy McAnally wrote: > Try this: > > File.open("config.txt", "rw") do |f| > File.open('data.text', 'rw') do |f| end --output:-- r1test.rb:1:in `initialize': illegal access mode rw (ArgumentError) from r1test.rb:1:in `open' from r1test.rb:1 -- Posted via http://www.ruby-forum.com/.