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/.