From: "marcandre (Marc-Andre Lafortune)" Date: 2013-01-14T13:59:38+09:00 Subject: [ruby-core:51419] [ruby-trunk - Bug #7248] Shouldn't Enumerator::Lazy.new be private? 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/