Method: Axlsx::SerAxis#to_xml_string
- Defined in:
- lib/axlsx/drawing/ser_axis.rb
#to_xml_string(str = '') ⇒ String
Serializes the object
36 37 38 39 40 41 42 |
# File 'lib/axlsx/drawing/ser_axis.rb', line 36 def to_xml_string(str = '') str << '<c:serAx>' super(str) str << '<c:tickLblSkip val="' << @tickLblSkip.to_s << '"/>' unless @tickLblSkip.nil? str << '<c:tickMarkSkip val="' << @tickMarkSkip.to_s << '"/>' unless @tickMarkSkip.nil? str << '</c:serAx>' end |