Sha256: 96c7b644df1fd90ca08e8e142cf40c2b4e634bfdf42dee7e3818e38a6921d2af
Contents?: true
Size: 245 Bytes
Versions: 3
Compression:
Stored size: 245 Bytes
Contents
module Rocx module Properties class BooleanProperty < ValueProperty def ok_values [nil, true, false] end def to_xml(xml) xml["w"].public_send(tag, "w:val" => value) if value end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rocx-0.7.0 | lib/rocx/properties/boolean_property.rb |
rocx-0.6.0 | lib/rocx/properties/boolean_property.rb |
rocx-0.5.8 | lib/rocx/properties/boolean_property.rb |