Sha256: 6a38c2377f1fdaf9189eacfbed98549a72589aa7860cbe07065ab68821624b87

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

require_relative "row"

module Oasis
  module Etm
    class Thead < Lutaml::Model::Serializable
      # Optional attributes
      attribute :valign, :string, values: %w[top middle bottom]

      # Content
      attribute :rows, Row, collection: true

      xml do
        root "thead"

        map_attribute "valign", to: :valign
        map_element "row", to: :rows
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oasis-etm-0.1.0 lib/oasis/etm/thead.rb