Sha256: 9452f867360c5c71b23988abe4bf0761374992e39d1a9d8fe053fddcc9866c56
Contents?: true
Size: 863 Bytes
Versions: 1
Compression:
Stored size: 863 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "cref" require_relative "eref" require_relative "iref" require_relative "xref" module Rfcxml module V3 class Ttcol < Lutaml::Model::Serializable attribute :content, :string attribute :width, :string attribute :align, :string, default: -> { "left" } attribute :cref, Cref, collection: true attribute :eref, Eref, collection: true attribute :iref, Iref, collection: true attribute :xref, Xref, collection: true xml do root "ttcol" map_content to: :content map_attribute "width", to: :width map_attribute "align", to: :align map_element "cref", to: :cref map_element "eref", to: :eref map_element "iref", to: :iref 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/ttcol.rb |