class Oxcelix::Sharedstrings
Ox based SAX parser which pushes shared strings (taken from the sharedString.xml file) to an array These strings will replace the references in the cells (interpolation).
Attributes
stringarray[RW]
@!attribute [rw] stringarray
@return [Array] the array of all the strings found in sharedStrings.xml
Public Class Methods
new()
click to toggle source
# File lib/oxcelix/sax/sharedstrings.rb, line 8 def initialize @stringarray = [] end
Public Instance Methods
text(str)
click to toggle source
Push the comment string into @stringarray
# File lib/oxcelix/sax/sharedstrings.rb, line 13 def text(str) @stringarray << str end