From: "marcandre (Marc-Andre Lafortune)" Date: 2012-10-31T13:23:15+09:00 Subject: [ruby-core:48639] [ruby-trunk - Bug #7248][Open] Shouldn't Enumerator::Lazy.new be private? Issue #7248 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #7248: Shouldn't Enumerator::Lazy.new be private? https://bugs.ruby-lang.org/issues/7248 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: Normal Assignee: 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/