class ReadXls::Evaluator::SstString

Attributes

builder[RW]
sst_index[RW]

Public Class Methods

new(sst_index, builder) click to toggle source
# File lib/read_xls/evaluator/sst_string.rb, line 6
def initialize(sst_index, builder)
  self.sst_index = sst_index
  self.builder   = builder
end

Public Instance Methods

evaluate() click to toggle source
# File lib/read_xls/evaluator/sst_string.rb, line 11
def evaluate
  builder.sst.index(sst_index)
end