Module: RowCalculator
- Included in:
- Tran
- Defined in:
- lib/tran/row_calculator.rb
Instance Method Summary collapse
Instance Method Details
#all_rows ⇒ Object
7 8 9 10 11 |
# File 'lib/tran/row_calculator.rb', line 7 def all_rows headers.keys.map do |path| document.locate(path).map(&:text) end end |
#calculated_rows ⇒ Object
3 4 5 |
# File 'lib/tran/row_calculator.rb', line 3 def calculated_rows all_rows.transpose end |