data = [[1, 2], [3, 4]].freeze puts data.frozen? # the inner arrays are not frozen data[0] << 99 p data
nested objects stay mutable