Une bévue wrote:

> Gabriele Marrone <gabriele.marrone / gmail.com> wrote:
> 
>>    File.open("mylog.txt", "a") do |f|
>>      f.puts "adding this line at the end"
>>    end
> 
> This one works also on win* ?

Answer number one: why don't you find out by doing an experiment? Surely you
don't expect to be able to develop software for a particular operating
system without actually doing tests on that OS, do you?

Answer number two: yes, it works on Windows. It is a tautology of file
processing, and if it did not work, there wouldn't be anything else
discussed on this newsgroup.

-- 
Paul Lutus
http://www.arachnoid.com