Project

General

Profile

Actions

Feature #15547

closed

deprecate iterator?

Added by nobu (Nobuyoshi Nakada) about 5 years ago. Updated over 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:91166]

Description

block_given? has been added since 1.6, and iterator? is almost never used these days.
I think we can deprecate the latter before Ruby 3.


Files

0001-Deprecate-iterator-method.patch (2.47 KB) 0001-Deprecate-iterator-method.patch nobu (Nobuyoshi Nakada), 01/19/2019 02:35 AM

Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Feature #17133: Add deprecate warning Kernel#iterator?ClosedActions

Updated by shevegen (Robert A. Heiler) about 5 years ago

I did not even know that iterator? exists - at first I thought it was something new. :)

I agree with nobu's comment.

Actions #2

Updated by Eregon (Benoit Daloze) over 3 years ago

  • Has duplicate Feature #17133: Add deprecate warning Kernel#iterator? added
Actions #5

Updated by sawa (Tsuyoshi Sawada) over 3 years ago

  • Description updated (diff)
Actions #7

Updated by nobu (Nobuyoshi Nakada) over 3 years ago

  • Status changed from Open to Closed

Applied in changeset git|2e80c8347e27f8ecedab56bab105d69efa35cbea.


Deprecate iterator? method

[Feature #15547] [Fix GH-2071]

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0