Sha256: 8d051aa9280cbe7d3f8926ace993cb8a08b09f51ba542b1d265b1bbfac851ba1
Contents?: true
Size: 935 Bytes
Versions: 1
Compression:
Stored size: 935 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "iref" require_relative "name" require_relative "tbody" require_relative "tfoot" require_relative "thead" module Rfcxml module V3 class Table < Lutaml::Model::Serializable attribute :align, :string, default: -> { "center" } attribute :anchor, :string attribute :pn, :string attribute :name, Name attribute :iref, Iref, collection: true attribute :thead, Thead attribute :tbody, Tbody, collection: true attribute :tfoot, Tfoot xml do root "table" map_attribute "align", to: :align map_attribute "anchor", to: :anchor map_attribute "pn", to: :pn map_element "name", to: :name map_element "iref", to: :iref map_element "thead", to: :thead map_element "tbody", to: :tbody map_element "tfoot", to: :tfoot end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfcxml-0.2.0 | lib/rfcxml/v3/table.rb |