From: Yusuke Endoh Date: 2010-03-04T02:48:14+09:00 Subject: [ruby-core:28450] [Feature #1081] add File::write() convenience method Issue #1081 has been updated by Yusuke Endoh. Hi, Yusuke Endoh wrote: > I have written a patch. The API is similar to File.read except string: > > File.write(path, string[, offset]) #=> length written > File.write(path, string[, offset], open_args) #=> length written > *snip* > > I'll commit the patch if anyone says objection. Sorry, I have misunderstood matz had already approved the feature in [ruby-core:21732]. But I realized he just discussed API design. I have not commit it yet. Matz, may I commit my patch? -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1081 ---------------------------------------- http://redmine.ruby-lang.org