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

Convert methods to use keyword arguments instead of options Hashes #28

Open
acant opened this issue Aug 26, 2022 · 0 comments
Open

Convert methods to use keyword arguments instead of options Hashes #28

acant opened this issue Aug 26, 2022 · 0 comments

Comments

@acant
Copy link
Collaborator

acant commented Aug 26, 2022

After support for Ruby 3.0 is added, it is probably time to convert all the methods to use keyword arguments instead of options Hashes.

This change was announced back in 2019, and released in Ruby 3.0:

I have already made a small internal change to account for keyword arguments in Ruby 3.0.

Here is some other documentation about keyword arguments from Thoughbot:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant