Sha256: c443fd8eddc09f5dcbe643a1305019e0aa8714cab5ebe94e59274c73e8a3c6b7

Contents?: true

Size: 385 Bytes

Versions: 15

Compression:

Stored size: 385 Bytes

Contents

module RubyFromExcel
  class SharedFormulaBuilder < FormulaBuilder
    attr_accessor :shared_formula_offset
  
    def initialize(formula_cell = nil, shared_formula_offset = nil)
      super formula_cell
      self.shared_formula_offset = shared_formula_offset
    end
  
    def cell(reference)
      Reference.new(reference).shift!(shared_formula_offset).to_ruby
    end
  
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.23 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.22 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.21 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.20 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.19 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.18 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.17 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.16 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.13 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.10 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.9 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.7 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.6 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.5 lib/cells/shared/shared_formula_builder.rb
rubyfromexcel-0.0.4 lib/cells/shared/shared_formula_builder.rb