Sha256: fedb974c83026cf02ca81badc6cb22bef721d0b7667daa5e032785bc9e70d0ab
Contents?: true
Size: 832 Bytes
Versions: 1
Compression:
Stored size: 832 Bytes
Contents
require_relative "tgroup" module Oasis module Etm class Table < Lutaml::Model::Serializable # Table attributes attribute :frame, :string, values: %w[top bottom topbot all sides none] attribute :colsep, :integer, values: [0, 1] attribute :rowsep, :integer, values: [0, 1] attribute :pgwide, :integer, values: [0, 1] # Table content attribute :title, :string attribute :tgroups, Tgroup, collection: true xml do root "table" # Frame mappings map_attribute "frame", to: :frame map_attribute "colsep", to: :colsep map_attribute "rowsep", to: :rowsep map_attribute "pgwide", to: :pgwide # Content mappings map_element "title", to: :title map_element "tgroup", to: :tgroups end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oasis-etm-0.1.0 | lib/oasis/etm/table.rb |