Sha256: e11464542e7b65c42c7f5a6a273e9685bfc15ee24facd4a2198efc31382b1578
Contents?: true
Size: 703 Bytes
Versions: 9
Compression:
Stored size: 703 Bytes
Contents
require "shale" require_relative "tr" module Stepmod module Utils module Parsers module Models class Table < Shale::Mapper attribute :caption, Shale::Type::String attribute :id, Shale::Type::String attribute :number, Shale::Type::String attribute :width, Shale::Type::String attribute :tr, Tr, collection: true xml do root "table" map_attribute "caption", to: :caption map_attribute "id", to: :id map_attribute "number", to: :number map_attribute "width", to: :width map_element "tr", to: :tr end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems