Project

General

Profile

Feature #15547

deprecate iterator?

Added by nobu (Nobuyoshi Nakada) 3 months ago. Updated 3 months ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:91166]

Description

block_given? has been added since 1.6, and iterator? is almost never used in 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

History

Updated by shevegen (Robert A. Heiler) 3 months ago

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

I agree with nobu's comment.

Also available in: Atom PDF