summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-12 14:56:27 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-12 14:56:27 +0000
commit466e2b900a8c62beb9b0327efad9d24e6269cc70 (patch)
tree5fe904df04a8a29846be886b17d6e6ba657c1ff7
parentf4c3951e7139a9c6cbd8df91fd970c485bdc6498 (diff)
Mention that Enumerator#enum_cons and Enumerator#enum_slice are
removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 20244ab663..b3896df010 100644
--- a/NEWS
+++ b/NEWS
@@ -262,6 +262,8 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7.
o Thread#exit!, Thread#kill! and Thread#terminate! removed.
* Enumerable and Enumerator
+ o Enumerator#enum_cons and Enumerator#enum_slice are
+ removed. Use #each_cons and #each_slice without a block.
o Enumerable#each_with_index can take optional arguments
and passes them to #each.
o Enumerable#each_with_object