Class: RubyFromExcel::SingleCellArrayFormulaBuilder
- Inherits:
-
ArrayFormulaBuilder
- Object
- FormulaBuilder
- ArrayFormulaBuilder
- RubyFromExcel::SingleCellArrayFormulaBuilder
- Defined in:
- lib/cells/array/single_cell_array_formula_builder.rb
Constant Summary
Constants inherited from FormulaBuilder
FormulaBuilder::COMPARATOR_CONVERSIONS, FormulaBuilder::OPERATOR_CONVERSIONS
Instance Attribute Summary
Attributes inherited from FormulaBuilder
Instance Method Summary collapse
Methods inherited from ArrayFormulaBuilder
#arithmetic, #comparison, #index_function, #match_function, #standard_function, #sum_function, #sumif_function, #sumifs_function
Methods inherited from FormulaBuilder
#area, #arithmetic, #attempt_to_calculate_index, #attempt_to_calculate_match, #attempt_to_parse_indirect, #boolean_false, #boolean_true, #brackets, #cell, #column_range, #comparator, #comparison, excel_function, #external_reference, #function, #index_function, #indirect_function, #initialize, #local_table_reference, #match_function, #named_reference, #null, #number, #operator, #parse_and_visit, #percentage, #prefix, #range_for, #row_range, #sheet_reference, #single_value_for, #standard_function, #string, #string_join, #table_reference
Constructor Details
This class inherits a constructor from RubyFromExcel::FormulaBuilder
Instance Method Details
#formula(*expressions) ⇒ Object
4 5 6 |
# File 'lib/cells/array/single_cell_array_formula_builder.rb', line 4 def formula(*expressions) expressions.map { |e| e.visit(self) }.join end |