Sha256: e5b8d83d80796191f7a1e4efd47e686b34c9de9f5e1b670587018fcf6e40a476

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "sub"

module Rfcxml
  module V3
    class Sup < Sub
      xml do
        root "sup"

        map_content to: :content
        map_element "bcp14", to: :bcp14
        map_element "cref", to: :cref
        map_element "em", to: :em
        map_element "eref", to: :eref
        map_element "iref", to: :iref
        map_element "relref", to: :relref
        map_element "strong", to: :strong
        map_element "sub", to: :sub
        map_element "sup", to: :sup
        map_element "tt", to: :tt
        map_element "xref", to: :xref
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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