Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from casperisfine/mri-27-frozen-string
Make Memoist.escape_punctuation compatible with MRI 2.7 The latest ruby-2.7 preview included some changes to `Symbol#to_s` so that it returns a frozen string [1]. This PR fixes an issue with the `Memoist.escape_punctuation` method so that we can maintain compatibility with this new behaviour potentially being introduced in Ruby 2.7. [1] https://bugs.ruby-lang.org/issues/16150
- Loading branch information