Sha256: 2beeea613cde25215731f0769554040e5c59e1c4f077fa1ad580af2e22731324

Contents?: true

Size: 779 Bytes

Versions: 1

Compression:

Stored size: 779 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class Tbody < 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 "tbody"

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