Method: Writexlsx::Package::SharedStrings#initialize

Defined in:
lib/write_xlsx/package/shared_strings.rb

#initializeSharedStrings

Returns a new instance of SharedStrings.



16
17
18
19
20
21
22
# File 'lib/write_xlsx/package/shared_strings.rb', line 16

def initialize
  @writer        = Package::XMLWriterSimple.new
  @strings       = [] # string table
  @strings_index = {} # string table index
  @count         = 0 # count
  @str_unique    = 0
end