From: takashikkbn@... Date: 2017-10-24T13:07:58+00:00 Subject: [ruby-core:83542] [Ruby trunk Misc#14000] OpenStruct with #frozen_string_literal: true Issue #14000 has been updated by k0kubun (Takashi Kokubun). Assignee set to marcandre (Marc-Andre Lafortune) ---------------------------------------- Misc #14000: OpenStruct with #frozen_string_literal: true https://bugs.ruby-lang.org/issues/14000#change-67568 * Author: esparta (Espartaco Palma) * Status: Open * Priority: Normal * Assignee: marcandre (Marc-Andre Lafortune) ---------------------------------------- The current implementation of OpenStruct needs minimal changes in order to support frozen strings. The mutable strings are only on inspect method. IMO, we have two options: a) leave the code as it is and just adding .dup where is needed b) Change to a functional style (map + join) instead of flags + concat. -- https://bugs.ruby-lang.org/ Unsubscribe: