lib/cocina/models/sequence.rb in cocina-models-0.63.0 vs lib/cocina/models/sequence.rb in cocina-models-0.63.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Cocina
module Models
class Sequence < Struct
- attribute :members, Types::Strict::Array.of(Types::Strict::String).default([])
+ attribute :members, Types::Strict::Array.of(Types::Strict::String).default([].freeze)
# The direction that a sequence of canvases should be displayed to the user
attribute :viewingDirection, Types::Strict::String.enum('right-to-left', 'left-to-right').meta(omittable: true)
end
end
end