Sha256: 4bef481728d3decc3b543b6961eb360fb0863760ee10be8f86a67fc893374b76
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "c" require_relative "name" require_relative "postamble" require_relative "preamble" require_relative "ttcol" module Rfcxml module V3 class Texttable < Lutaml::Model::Serializable attribute :anchor, :string attribute :title, :string, default: -> { "" } attribute :suppress_title, :string, default: -> { "false" } attribute :align, :string, default: -> { "center" } attribute :style, :string, default: -> { "full" } attribute :name, Name attribute :preamble, Preamble attribute :ttcol, Ttcol, collection: true attribute :c, C, collection: true attribute :postamble, Postamble xml do root "texttable" map_attribute "anchor", to: :anchor map_attribute "title", to: :title map_attribute "suppress-title", to: :suppress_title map_attribute "align", to: :align map_attribute "style", to: :style map_element "name", to: :name map_element "preamble", to: :preamble map_element "ttcol", to: :ttcol map_element "c", to: :c map_element "postamble", to: :postamble end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfcxml-0.2.0 | lib/rfcxml/v3/texttable.rb |