Class: AspireBudget::Worksheets::BackendData
- Inherits:
-
WorksheetBase
- Object
- WorksheetBase
- AspireBudget::Worksheets::BackendData
- Defined in:
- lib/aspire_budget/worksheets/backend_data.rb
Constant Summary collapse
- WS_TITLE =
'BackendData'
Instance Method Summary collapse
-
#version ⇒ String
The spreadsheet version.
Methods inherited from WorksheetBase
#dirty?, #initialize, instance
Constructor Details
This class inherits a constructor from AspireBudget::Worksheets::WorksheetBase
Instance Method Details
#version ⇒ String
Returns the spreadsheet version.
11 12 13 14 |
# File 'lib/aspire_budget/worksheets/backend_data.rb', line 11 def version version_column = ws.rows[0].index { |header| header.include?('Update') } ws.rows[1][version_column] end |