Skip to content

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.

2 participants