Sha256: 18b17a821e46180acce13945ee436113b67dde929e1caf6c76160653befbcdb9
Contents?: true
Size: 284 Bytes
Versions: 9
Compression:
Stored size: 284 Bytes
Contents
module OpenXml module Docx module Properties class OnOffProperty < ValueProperty def ok_values [nil, :on, :off] end def to_xml(xml) xml["w"].public_send(tag, "w:val" => value) if value end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems