Method: Axlsx::TableStyleElement#to_xml_string
- Defined in:
- lib/axlsx/stylesheet/table_style_element.rb
#to_xml_string(str = '') ⇒ String
Serializes the object
68 69 70 71 72 |
# File 'lib/axlsx/stylesheet/table_style_element.rb', line 68 def to_xml_string(str = '') str << '<tableStyleElement ' str << instance_values.map { |key, value| '' << key.to_s << '="' << value.to_s << '"' }.join(' ') str << '/>' end |