lib/cocina/models/descriptive_value_language.rb in cocina-models-0.63.0 vs lib/cocina/models/descriptive_value_language.rb in cocina-models-0.63.1
- old
+ new
@@ -7,10 +7,10 @@
attribute :code, Types::Strict::String.meta(omittable: true)
# URI for the standard or encoding.
attribute :uri, Types::Strict::String.meta(omittable: true)
# String describing the standard or encoding.
attribute :value, Types::Strict::String.meta(omittable: true)
- attribute :note, Types::Strict::Array.of(DescriptiveValue).default([])
+ attribute :note, Types::Strict::Array.of(DescriptiveValue).default([].freeze)
# The version of the standard or encoding.
attribute :version, Types::Strict::String.meta(omittable: true)
attribute :source, Source.optional.meta(omittable: true)
attribute :valueScript, Standard.optional.meta(omittable: true)
end