Skip to content

Ruby 3.2 Support #42

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

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Ruby 3.2 Support #42

merged 2 commits into from
Oct 7, 2024

Conversation

kobsy
Copy link
Member

@kobsy kobsy commented Mar 13, 2023

Prior to Ruby 3.2, Object#=~ was defined, but returned nil. This meant you could get away with assuming an argument was a string, and it would fail gracefully when you tried to check it against a Regex. Starting in Ruby 3.2, Object#=~ is no longer defined, so we need to add the check for if the argument is actually a string.

@kobsy kobsy requested review from boblail, lukebooth and theghall March 13, 2023 14:03
@kobsy kobsy force-pushed the ruby-3.2 branch 4 times, most recently from ad88048 to 0bc921f Compare October 7, 2024 18:30
@kobsy kobsy merged commit 21a70e4 into master Oct 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant