cli_flags/frozen_literal_birthplace_parens.rb

tests/_examples/cli_flags/frozen_literal_birthplace_parens.rb in the metorex repository.

# Under --debug-frozen-string-literal a string literal remembers where it was
# written, and the refusal to change it names that place.
held = 'written here'
begin
  held.<<(' and more')
rescue FrozenError => refused
  puts(refused.message)
end