Method: Axlsx::BorderPr#to_xml_string
- Defined in:
- lib/axlsx/stylesheet/border_pr.rb
#to_xml_string(str = '') ⇒ String
Serializes the object
63 64 65 66 67 |
# File 'lib/axlsx/stylesheet/border_pr.rb', line 63 def to_xml_string(str = '') str << '<' << @name.to_s << ' style="' << @style.to_s << '">' @color.to_xml_string(str) if @color.is_a?(Color) str << '</' << @name.to_s << '>' end |