When the file has a pragma:
# frozen_string_literal: true
all lines written as literals in this file are frozen by default. When I want my lines to be immutable in general, and therefore I use pragma, but want to have a couple of mutable lines, what is the recommended way to write them?
All I can think of is:
String.new("foo")
sawa
source share