Feature #15547
deprecate iterator?
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
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
Related issues
Updated by shevegen (Robert A. Heiler) about 2 years ago
I did not even know that iterator? exists - at first I thought it was something new. :)
I agree with nobu's comment.
Updated by Eregon (Benoit Daloze) 5 months ago
- Has duplicate Feature #17133: Add deprecate warning Kernel#iterator? added
Updated by Eregon (Benoit Daloze) 5 months ago
+1, nobu (Nobuyoshi Nakada) could you commit it?
Updated by nobu (Nobuyoshi Nakada) 5 months ago
I've forgotten this.
Updated https://github.com/ruby/ruby/pull/2071
Updated by nobu (Nobuyoshi Nakada) 5 months ago
- Status changed from Open to Closed
Applied in changeset git|2e80c8347e27f8ecedab56bab105d69efa35cbea.
Deprecate iterator? method
[Feature #15547] [Fix GH-2071]