lib/axlsx/drawing/picture_locking.rb in axlsx-2.0.1 vs lib/axlsx/drawing/picture_locking.rb in axlsx-2.1.0.pre
- old
+ new
@@ -33,12 +33,10 @@
# Serializes the object
# @param [String] str
# @return [String]
def to_xml_string(str = '')
- str << '<a:picLocks '
- serialized_attributes str
- str << '/>'
+ serialized_tag('a:picLocks', str)
end
end
end