Alternative ways to freeze a string in Ruby
#codesummary #code #summary #freeze #ruby #strings
This is a code summary for https://allaboutcoding.ghinda.com/alternative-ways-to-freeze-a-string-in-ruby about how to freeze strings in Ruby.
If you want to play with the code you can find it here on Github or in the original article.
In part 3, the output says value2 is frozen, but is it really, or is that a mistake?