Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Add Enumerator.produce #1516

Merged
merged 3 commits into from
Sep 28, 2023
Merged

Commits on Sep 28, 2023

  1. core: Add Enumerator.produce

    Add the signature for Enumerator.produce
    https://bugs.ruby-lang.org/issues/14781
    tk0miya authored and soutaro committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    56e4a52 View commit details
    Browse the repository at this point in the history
  2. Make the method type generic

    Co-authored-by: Jimmy H <paradox.ver5@gmail.com>
    soutaro and ParadoxV5 committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    3df06b7 View commit details
    Browse the repository at this point in the history
  3. The return type should be bot

    Because the `#each` call never returns.
    soutaro committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    b50f6fa View commit details
    Browse the repository at this point in the history