diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 17:17:12 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 17:17:12 +0000 |
commit | 81bfd9a6c0960e0a20a2b93a4db8f38c1507998d (patch) | |
tree | fe5d52cb4cf364fe4b16146639ce4f427d2aa643 /NEWS | |
parent | 0814c4ac643fcbb2d7f2d6c077fa1626a5e59b77 (diff) |
* NEWS: Update for lazy size evaluation [Feature #6636]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -27,6 +27,12 @@ with all sufficient information, see the ChangeLog file. * added method: * added Enumerable#lazy method for lazy enumeration. + * Enumerator + * added method: + * added Enumerator#size for lazy size evaluation. + * extended method: + * Enumerator.new accept an argument for lazy size evaluation. + * ENV * aliased method: * ENV.to_h is a new alias for ENV.to_hash @@ -52,6 +58,7 @@ with all sufficient information, see the ChangeLog file. * Kernel#warn accepts multiple args in like puts. * Kernel#caller accepts second optional argument `n' which specify required caller size. + * Kernel#to_enum and enum_for accept a block for lazy size evaluation. * incompatible changes: * system() and exec() closes non-standard file descriptors (The default of :close_others option is changed to true by default.) @@ -88,6 +95,10 @@ with all sufficient information, see the ChangeLog file. * added method: * added nil.to_h which returns {} + * Range + * added method: + * added Range#size for lazy size evaluation. + * Signal * incompatible changes: * Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM |