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

Use frozen strings #65

Merged
merged 1 commit into from
Jan 6, 2021
Merged

Use frozen strings #65

merged 1 commit into from
Jan 6, 2021

Conversation

kirs
Copy link
Contributor

@kirs kirs commented Dec 26, 2020

This PR ports ruby/ruby#3560 to this repo.

frozen_string_literal: true is a generally a good practice, and here it will make it easier to call some building blocks of WEBricks from places that require objects to be frozen (e.g. Ractor).

cc @jeremyevans

@kirs kirs force-pushed the frozen-strings branch 3 times, most recently from a5c4228 to af95d7a Compare December 26, 2020 11:18
@jeremyevans
Copy link
Contributor

@kirs Thanks for submitting a patch for this. I'm fine with these changes. Unless another committer objects in the next few days, I'll merge this.

@jeremyevans jeremyevans merged commit 9279dd8 into ruby:master Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants