зеркало из https://github.com/github/ruby.git
Mention Enumerator#with_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
646e2efaef
Коммит
03d38468ac
13
NEWS
13
NEWS
|
@ -21,6 +21,15 @@ with all sufficient information, see the ChangeLog file.
|
|||
* new method:
|
||||
* Dir.home
|
||||
|
||||
* Enumerator
|
||||
* extended methods:
|
||||
* #with_index accepts an optional argument that specifies the
|
||||
index number to start with, defaulted to 0.
|
||||
|
||||
* incompatible changes:
|
||||
* #rewind now calls the "rewind" method of the enclosed object
|
||||
if defined.
|
||||
|
||||
* IO
|
||||
* extended methods:
|
||||
* IO.pipe can take a block.
|
||||
|
@ -29,10 +38,6 @@ with all sufficient information, see the ChangeLog file.
|
|||
* extended methods:
|
||||
* Process.spawn accepts [:child, FD] for a redirect target.
|
||||
|
||||
* Enumerator#rewind
|
||||
* incompatible changes:
|
||||
Now calls the "rewind" method of the enclosed object if defined.
|
||||
|
||||
* rss
|
||||
|
||||
* 0.2.4 -> 0.2.5
|
||||
|
|
Загрузка…
Ссылка в новой задаче