Closed kirs closed 3 years ago
This PR ports https://github.com/ruby/ruby/pull/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).
frozen_string_literal: true
cc @jeremyevans
@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.
This PR ports https://github.com/ruby/ruby/pull/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