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

fix: Update for Ruby 3 #44

Merged
merged 2 commits into from
Jun 17, 2024
Merged

fix: Update for Ruby 3 #44

merged 2 commits into from
Jun 17, 2024

Conversation

nickevansuk
Copy link
Contributor

@nickevansuk nickevansuk commented Jun 17, 2024

Ruby 3 requires a different way to handle keyword arguments within blocks.

This change is backwards compatible with Ruby 2.6. By using a single block parameter and then extracting the values within the block, this approach will work in both Ruby 2.6 and Ruby 3.

@nickevansuk nickevansuk merged commit bb28116 into master Jun 17, 2024
2 checks passed
@nickevansuk nickevansuk deleted the fix/update-for-ruby-3 branch June 17, 2024 15:19
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.

1 participant