From: Martin DeMello Date: 2008-07-11T06:36:38+09:00 Subject: Re: file modes On Thu, Jul 10, 2008 at 2:29 PM, Jens Wille wrote: > hi martin! > > Martin DeMello [2008-07-10 21:48]: >> Would be nice to have File.open_read, open_write and open_append >> (or less clunky names if anyone can think them up; it's the >> principle of the thing) to support the common cases. > just added them to ruby-nuggets [1] ;-) (sans the 'open_') > > [1] Neat :) I suggested the open_ because I was wondering how you'd get around the fact that there was already an IO.read, but your solution looks good. martin