class Xlsxtream::SharedStringTable

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/xlsxtream/shared_string_table.rb, line 4
def initialize
  @references = 0
  super { |hash, string| hash[string] = hash.size }
end

Public Instance Methods

[](string) click to toggle source
Calls superclass method
# File lib/xlsxtream/shared_string_table.rb, line 9
def [](string)
  @references += 1
  super
end
references() click to toggle source
# File lib/xlsxtream/shared_string_table.rb, line 14
def references
  @references
end