Sha256: 69d30b3c75e1c7d0d99679570b6c13981fc09f4fe6da889e64d82b60858e20fd

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

require_relative "row"

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

      # Content
      attribute :rows, Row, collection: true

      xml do
        root "tbody"

        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/tbody.rb