Method: Axlsx::StrVal#to_xml_string
- Defined in:
- lib/axlsx/drawing/str_val.rb
#to_xml_string(idx, str = "") ⇒ Object
serialize the object
26 27 28 29 |
# File 'lib/axlsx/drawing/str_val.rb', line 26 def to_xml_string(idx, str = "") Axlsx::validate_unsigned_int(idx) str << '<c:pt idx="' << idx.to_s << '"><c:v>' << v.to_s << '</c:v></c:pt>' end |