Actions
Misc #14000
closedOpenStruct with #frozen_string_literal: true
    Misc #14000:
    OpenStruct with #frozen_string_literal: true
  
Status:
Closed
Assignee:
Description
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.
Actions