Project

General

Profile

Actions

Misc #21627

closed

No usages of rb_enumeratorize

Added by ricardo.trindade743@gmail.com (Ricardo Trindade) 3 days ago. Updated 2 days ago.

Status:
Rejected
Assignee:
-
[ruby-core:<unknown>]

Description

Throughout the codebase there seems to be no usages of the rb_enumeratorize method. Behind the scenes it is calling rb_enumeratorize_with_size which seems to be the recommended option, and this method has way more usages.
Would it be ok to cleanup the method and its usages? Last issue reported here https://bugs.ruby-lang.org/issues/7302. If I get it correctly it seems to point that the method should be internal.
Happy to work on a PR for this.

Actions

Also available in: Atom PDF

Like0
Like0Like0