Skip to content

Conversation

@flash-gordon
Copy link
Contributor

A block is part of the Delegator's contract. Ruby 3.4 issues a warning if a block is passed but unused. This commit fixes the warning by adding a block to the argument list.

@hsbt hsbt force-pushed the add-block-argument branch from 590b644 to 8bb158d Compare January 22, 2025 08:49
@flash-gordon flash-gordon changed the title Add missing block argument Add missing block parameter Jan 24, 2025
@flash-gordon flash-gordon force-pushed the add-block-argument branch 2 times, most recently from 6979ee1 to 0bbb30f Compare February 1, 2025 15:55
A block is part of the Delegator's contract. Ruby 3.4 issues a warning if a block is passed but unused. This commit fixes the warning by adding a block to the argument list.
@flash-gordon
Copy link
Contributor Author

@hsbt I rebased the branch, pls consider merging if it's good to go

@hsbt hsbt merged commit 74772a5 into ruby:master Feb 3, 2025
19 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