From: Robert Klemme Date: 2010-01-08T02:35:14+09:00 Subject: Re: What does "w+" mean in IO.open ? On 01/07/2010 03:41 PM, Iņaki Baz Castillo wrote: > Hi, the rdoc says that "w+" means: > > "w+": Read-write, truncates existing file to zero length or creates a > new file for reading and writing. > > however in a post I've read: > > output = open("my_pipe", "w+") # the w+ means we don't block > > Is it true? AFAIK it's not correct as you open a IO and later use bocking or > non-blocking methods. Do I miss something? No. RI is RIght. ;-) Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/