Sha256: b8ce7501e8df7ae7018897fa6109ea4636672f6c8e93ee5ac360f5f10c6b8121

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "td"
require_relative "th"

module Rfcxml
  module V3
    class Tr < Lutaml::Model::Serializable
      attribute :anchor, :string
      attribute :td, Td, collection: true
      attribute :th, Th, collection: true

      xml do
        root "tr"

        map_attribute "anchor", to: :anchor
        map_element "td", to: :td
        map_element "th", to: :th
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rfcxml-0.2.0 lib/rfcxml/v3/tr.rb