Issue #7248 has been updated by marcandre (Marc-Andre Lafortune).

Assignee changed from marcandre (Marc-Andre Lafortune) to yhara (Yutaka HARA)


----------------------------------------
Bug #7248: Shouldn't Enumerator::Lazy.new be private?
https://bugs.ruby-lang.org/issues/7248#change-35398

Author: marcandre (Marc-Andre Lafortune)
Status: Assigned
Priority: High
Assignee: yhara (Yutaka HARA)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-10-29 trunk 37380) [x86_64-darwin10.8.0]


Is there a reason why Enumerator::Lazy.new is not private?

Lazy enumerators should be created with `Enumerable#lazy`. Moreover, there is no doc, and it can give unexpected results too.


-- 
http://bugs.ruby-lang.org/