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

Create wrappers for regexes instead of singleton methods #2652

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

sethboyles
Copy link
Member

@sethboyles sethboyles commented Jan 28, 2022

  • In Ruby 3.0, regexes are immutable and can't have singleton methods defined

Pulled this out of #2623 to avoid having long living branches and merge conflicts with them.

* In Ruby 3.0, regexes are immutable and can't have singleton methods defined

Co-authored-by: Seth Boyles <sboyles@pivotal.io>
Co-authored-by: Mona Mohebbi <mmohebbi@pivotal.io>
@sethboyles sethboyles merged commit 58eaf84 into main Jan 31, 2022
@sethboyles sethboyles deleted the decorate-regex branch January 31, 2022 17:21
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.

3 participants