diff options
author | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-02 07:30:11 +0000 |
---|---|---|
committer | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-02 07:30:11 +0000 |
commit | 7b3948f0552b09ee51b885595fe495fd50000bdb (patch) | |
tree | 88ffd8b26be0ede5c7fd2a77609ae702ac059ac6 /NEWS | |
parent | 2b0363df5d523434c0f197e9649713ff4bb1291b (diff) | |
download | ruby-7b3948f0552b09ee51b885595fe495fd50000bdb.tar.gz |
* io.c: Add File.write, File.binwrite. [Feature #1081] [ruby-core:21701]
* test/ruby/test_io.rb: Test for File.write, File.binwrite.
* NEWS: News for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -57,8 +57,13 @@ with all sufficient information, see the ChangeLog file. * IO * extended method: * IO#putc supports multibyte characters - * new method: + * new methods: * IO#advise + * IO.write(name, string, [offset] ) + Write `string` to file `name`. + Opposite with File.read. + * IO.binwrite(name, string, [offset] ) + binary virsion of IO.write. * Kernel * Kernel#respond_to? now returns false for protected methods. |