lib/cocina/models/descriptive_geographic_metadata.rb in cocina-models-0.63.0 vs lib/cocina/models/descriptive_geographic_metadata.rb in cocina-models-0.63.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Cocina
module Models
class DescriptiveGeographicMetadata < Struct
- attribute :form, Types::Strict::Array.of(DescriptiveValue).default([])
- attribute :subject, Types::Strict::Array.of(DescriptiveValue).default([])
+ attribute :form, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
+ attribute :subject, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
end
end
end