[ruby-core:123401] [Ruby Misc#21627] No usages of rb_enumeratorize
From:
"ricardo.trindade743@... (Ricardo Trindade) via ruby-core" <ruby-core@...>
Date:
2025-10-06 06:41:31 UTC
List:
ruby-core #123401
Issue #21627 has been reported by [email protected] (Ricardo Trindade). ---------------------------------------- Misc #21627: No usages of rb_enumeratorize https://bugs.ruby-lang.org/issues/21627 * Author: [email protected] (Ricardo Trindade) * Status: Open * Assignee: [email protected] (Ricardo Trindade) ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- [email protected] To unsubscribe send an email to [email protected] ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/