Sha256: bf8c5547a2a404820a2d62dc17bb28a9f9af692614570fc8ed74dff03db2d079

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "tr"

module Rfcxml
  module V3
    class Thead < Lutaml::Model::Serializable
      attribute :anchor, :string
      attribute :tr, Tr, collection: true

      xml do
        root "thead"

        map_attribute "anchor", to: :anchor
        map_element "tr", to: :tr
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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