Issue #1081 has been updated by Roger Pack.


> What do you think proper API for combined File.open?
> 
>   File::write(path, string, mode, opt)

I also prefer this first way.
File.write('hello.txt', 'some stuff')

and default to mode 'wb' for all platforms
Thanks for looking into this.  It would be quite useful.

----------------------------------------
http://redmine.ruby-lang.org/issues/show/1081

----------------------------------------
http://redmine.ruby-lang.org