Actions
Feature #15547
closeddeprecate iterator?
Status:
Closed
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
Updated by shevegen (Robert A. Heiler) about 6 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) over 4 years ago
- Has duplicate Feature #17133: Add deprecate warning Kernel#iterator? added
Updated by Eregon (Benoit Daloze) over 4 years ago
+1, @nobu (Nobuyoshi Nakada) could you commit it?
Updated by nobu (Nobuyoshi Nakada) over 4 years ago
I've forgotten this.
Updated https://github.com/ruby/ruby/pull/2071
Updated by matz (Yukihiro Matsumoto) over 4 years ago
I agree.
Matz.
Updated by nobu (Nobuyoshi Nakada) over 4 years ago
- Status changed from Open to Closed
Applied in changeset git|2e80c8347e27f8ecedab56bab105d69efa35cbea.
Deprecate iterator? method
[Feature #15547] [Fix GH-2071]
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0