Skip to content

[Feature #19979] Method definition with &nil#10020

Merged
matzbot merged 1 commit intoruby:masterfrom
nobu:nil-blockarg
Apr 7, 2026
Merged

[Feature #19979] Method definition with &nil#10020
matzbot merged 1 commit intoruby:masterfrom
nobu:nil-blockarg

Conversation

@nobu
Copy link
Copy Markdown
Member

@nobu nobu commented Feb 20, 2024

Allow methods to declare that they don't accept a block via &nil.

@launchable-app

This comment has been minimized.

@matzbot matzbot merged commit 1392600 into ruby:master Apr 7, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants