From: sawadatsuyoshi@... Date: 2015-08-24T08:18:27+00:00 Subject: [ruby-core:70562] [Ruby trunk - Feature #11473] Immutable String literal in Ruby 3 Issue #11473 has been updated by Tsuyoshi Sawada. As for a "finer-grained range than a whole file" directive, it reminds me of the `using` method. Their scope look similar to me. Can we have built-in modules named as `FrozenString` and `UnfrozenString`, which give special interpretations when used with `using`? using FrozenString # string literals are interpreted as frozen using UnfrozenString # string literals are not interpreted as frozen ---------------------------------------- Feature #11473: Immutable String literal in Ruby 3 https://bugs.ruby-lang.org/issues/11473#change-53972 * Author: Koichi Sasada * Status: Assigned * Priority: Normal * Assignee: Yukihiro Matsumoto ---------------------------------------- Matz said "All String literals are immutable (frozen) on Ruby 3". This ticket is place holder to discuss about that. -- https://bugs.ruby-lang.org/