Sha256: 54ac55a894cb45ab536b29b8d0e215272ff43509dd7688c7c1081b931fdfb77d
Contents?: true
Size: 373 Bytes
Versions: 9
Compression:
Stored size: 373 Bytes
Contents
require_relative 'single_cell_array_formula_builder' module RubyFromExcel class SingleCellArrayFormulaCell < FormulaCell def ruby_value ruby_code = ast.visit(SingleCellArrayFormulaBuilder.new(self)) ruby_code = "(#{ruby_code}).array_formula_offset(0,0)" if ruby_code =~ /^m\(.*\}$/ "@#{reference.to_ruby} ||= #{ruby_code}" end end end
Version data entries
9 entries across 9 versions & 1 rubygems