From: perlun@... Date: 2018-01-02T10:59:31+00:00 Subject: [ruby-core:84587] [Ruby trunk Feature#11473] Immutable String literal in Ruby 3 Issue #11473 has been updated by perlun (Per Lundberg). FWIW, Rubocop suggests now in recent versions that you use the "unary plus" as the "one-character" approach to thaw a frozen string: http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Performance/UnfreezeString More details in the PR that introduced this cop: https://github.com/bbatsov/rubocop/pull/4586 ---------------------------------------- Feature #11473: Immutable String literal in Ruby 3 https://bugs.ruby-lang.org/issues/11473#change-69125 * Author: ko1 (Koichi Sasada) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- 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/ Unsubscribe: