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

Support frozen string literals #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pat
Copy link

@pat pat commented Mar 29, 2024

This is to avoid deprecation warnings with the forthcoming change in Ruby 3.4 where modifying a string literal will cause a deprecation warning by default.
ruby/ruby@12be40a

Granted, it only impacts situations where empty strings are passed through, but I figure better to cover that off than expect consumers of this gem to have their own logic.

Also, doesn't hurt to always be testing against this to avoid any regressions.

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