From: Yusuke ENDOH Date: 2010-03-09T00:22:59+09:00 Subject: [ruby-core:28560] Re: [Feature #1081] add File::write() convenience method Hi, 2010/3/6 Run Paint Run Run : >> I give up. I have already reverted and deleted the two methods. >> >> I wrote the patch because I thought closing the ticket encourages 1.9.2 >> release. >> But it seems to take some time to make the feature stable, and I became >> afraid that it may delay the release. ?It is never the effect I expected. >> >> I think refactoring io.c is needed to implement the feature. >> open argument is easy to use, but difficult for me to implement :-( > > Why don't we just start simple? Because there are already complex File.read/binread. It is confusing to make File.write/binwrite inconsistent with them. > That covers the common use case which inspired > this ticket, and allows the optional arguments to be added later > without breaking compatibility. There is no reason to rush into 1.9.2. -- Yusuke ENDOH