Module: OoxmlParser::WorkbookHelpers
- Included in:
- XLSXWorkbook
- Defined in:
- lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/workbook_helpers.rb
Overview
method to help to work with DocumentStructure
Instance Method Summary collapse
-
#with_data? ⇒ True, false
If structure contain any user data.
Instance Method Details
#with_data? ⇒ True, false
Returns if structure contain any user data.
5 6 7 8 9 |
# File 'lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/workbook_helpers.rb', line 5 def with_data? return true if @worksheets.length > 1 return true if @worksheets.first.with_data? false end |