Sha256: 6c29d8d26e26efb5c7a501669806f0b32448e616a870e831cc6325ef87d55de7
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
module OoxmlParser # Class for parsing `w:trHeight` object class TableRowHeight < OOXMLDocumentObject # @return [Integer] value of size attr_accessor :value # Parse TableRowHeight # @param [Nokogiri::XML:Node] node with TableRowHeight # @return [TableRowHeight] result of parsing def parse(node) node.attributes.each do |key, value| case key when 'val' @value = OoxmlSize.new(value.value.to_f) end end self end end end
Version data entries
4 entries across 4 versions & 1 rubygems