Sha256: 0bf975e4602e44982f1763eadc6438529981de4347cf0b78deb1d6d1e2c9420a
Contents?: true
Size: 616 Bytes
Versions: 1
Compression:
Stored size: 616 Bytes
Contents
module RXaal class Stroke < XaalElement include Serializable attr_accessor_of_class String, :type attr_accessor_of_class Integer, :width def initialize(doc, id = nil, elem_ns=nil) super(doc, id, elem_ns) end def xaal_serialize(parent) if (@type != nil || @width != nil) e = REXML::Element.new "stroke" parent.elements << e if @type != nil e.attributes["type"] = @type end if @width != nil e.attributes["width"] = @width end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
RXAAL-0.0.1 | lib/stroke.rb |