Project

General

Profile

Feature #11773

Enumerator::Lazy#grep_v

Added by spiritloose (Jiro Nishiguchi) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:71845]

Description

Enumerable#grep_v was introduced in #11049.

But Enumerator::Lazy doesn't have the method.

I've attached a patch that adds grep_v to Enumerator::Lazy.


Files

Enumerator_Lazy_grep_v.patch (3.33 KB) Enumerator_Lazy_grep_v.patch spiritloose (Jiro Nishiguchi), 12/05/2015 07:30 AM

Updated by matz (Yukihiro Matsumoto) over 4 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

Agreed. the patch LGTM.

Matz.

#2

Updated by nobu (Nobuyoshi Nakada) over 4 years ago

  • Status changed from Open to Closed

Applied in changeset r52943.


enumerator.c: lazy_grep_v

  • enumerator.c (lazy_grep_v): add Enumerator::Lazy#grep_v as well as Enumerable, to enumerate lazily. [ruby-core:71845] [Feature #11773]

Also available in: Atom PDF