summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-02 07:30:11 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-02 07:30:11 +0000
commit7b3948f0552b09ee51b885595fe495fd50000bdb (patch)
tree88ffd8b26be0ede5c7fd2a77609ae702ac059ac6 /NEWS
parent2b0363df5d523434c0f197e9649713ff4bb1291b (diff)
* 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--NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index fe63757539..73e8e909db 100644
--- a/NEWS
+++ b/NEWS
@@ -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.