mmm I think IMHO that the attr_reader accessor should return a .dub version of the object. That way there will be no chance to edit the class attribute on a read action.crojas (Carlos Luis Rojas Aragonés)
It is possible to change a read_only class attribute: ~~~ruby require 'pp' class Attributes attr_reader :string, :array, :hash def initialize @string = 'value' @array = [1, 2, 3, 4] @hash = { name: 'Carlos', age...crojas (Carlos Luis Rojas Aragonés)