class Axlsx::StrVal

This class specifies data for a particular data point.

def initialize(options = {})

Options Hash: (**options)
  • v (String) --
def initialize(options = {})
  @v = ""
  @idx = 0
  parse_options options
end

def to_xml_string(idx, str = "")

serialize the object
def to_xml_string(idx, str = "")
  Axlsx::validate_unsigned_int(idx)
  if !v.to_s.empty?
    str << ('<c:pt idx="' << idx.to_s << '"><c:v>' << ::CGI.escapeHTML(v.to_s) << '</c:v></c:pt>')
  end
end

def v=(v)

Other tags:
    See: v -
def v=(v)
  @v = v.to_s
end