diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-27 10:07:07 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-27 10:07:07 +0000 |
commit | c4f26e46dbd3bd00f3e136fbcd7eb9f6c1e5646f (patch) | |
tree | f74dcb07b6fb5706a6ba11b556c3f7b5f5c6a21f /NEWS | |
parent | 05d7f4887cfedd3a5ec8fe173359897d953e4e2b (diff) |
Merge from ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 44 |
1 files changed, 43 insertions, 1 deletions
@@ -178,9 +178,26 @@ with all sufficient information, see the ChangeLog file. Return an enumerator if no block is given. - * Method#receiver + * IO#bytes + * IO#chars + * IO#each_char + * IO#getbyte + * IO#lines + * IO#readbyte + * ARGF.bytes + * ARGF.chars + * ARGF.each_char + * ARGF.getbyte + * ARGF.lines + * ARGF.readbyte + + New methods. + + * Method#class_exec + * Method#module_exec * Method#name * Method#owner + * Method#receiver * UnboundMethod#name * UnboundMethod#owner @@ -309,6 +326,24 @@ with all sufficient information, see the ChangeLog file. * Shellwords.split (alias shellwords) * String#shellsplit +* stringio + + * StringIO#getbyte + * StringIO#readbyte + + New methods. (aliases for compatibility with 1.9) + + * StringIO#each_char + * StringIO#chars + + New methods. + + * StringIO#each + * StringIO#each_line + * StringIO#each_byte + + Return an enumerator if no block is given. + * tempfile * Tempfile.open and Tempfile.new now accept a suffix for the @@ -387,6 +422,13 @@ with all sufficient information, see the ChangeLog file. always use Date.strptime() when you know what you are dealing with. +* stringio + + * StringIO#each_byte + + The return value changed from nil to self. This is what the + document says and the same as each_line() does. + * tempfile * The file name format has changed. No dots are included by default |