Sha256: 99ef5a562cf7b1eb386704e07985f05db29e89de7240acd2109e893604f61c2a
Contents?: true
Size: 226 Bytes
Versions: 3
Compression:
Stored size: 226 Bytes
Contents
module Rocx module Properties class ToggleProperty < ValueProperty def ok_values [nil, true, false] end def to_xml(xml) xml["w"].public_send(tag) 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/toggle_property.rb |
rocx-0.6.0 | lib/rocx/properties/toggle_property.rb |
rocx-0.5.8 | lib/rocx/properties/toggle_property.rb |