Method: Axlsx::Xf#to_xml_string
- Defined in:
- lib/axlsx/stylesheet/xf.rb
#to_xml_string(str = '') ⇒ String
Serializes the object
136 137 138 139 140 141 142 143 |
# File 'lib/axlsx/stylesheet/xf.rb', line 136 def to_xml_string(str = '') str << '<xf ' serialized_attributes str str << '>' alignment.to_xml_string(str) if self.alignment protection.to_xml_string(str) if self.protection str << '</xf>' end |