Project

General

Profile

Actions

Feature #11773

closed

Enumerator::Lazy#grep_v

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

Status:
Closed
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 8 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

Agreed. the patch LGTM.

Matz.

Actions #2

Updated by nobu (Nobuyoshi Nakada) over 8 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]
Actions

Also available in: Atom PDF

Like0
Like0Like0