Sha256: 7ccccd0b0daa8dffc6d908ae6f1508fb36b46d807214b98408e9d4a67e35c24a

Contents?: true

Size: 779 Bytes

Versions: 1

Compression:

Stored size: 779 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class Thead < Lutaml::Model::Serializable
      attribute :align, :string
      attribute :char, :string
      attribute :charoff, :string
      attribute :content_type, :string
      attribute :id, :string
      attribute :style, :string
      attribute :valign, :string
      attribute :tr, Tr, collection: true

      xml do
        root "thead"

        map_attribute "align", to: :align
        map_attribute "char", to: :char
        map_attribute "charoff", to: :charoff
        map_attribute "content-type", to: :content_type
        map_attribute "id", to: :id
        map_attribute "style", to: :style
        map_attribute "valign", to: :valign
        map_element "tr", to: :tr
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
niso-jats-0.1.1 lib/niso/jats/thead.rb