Class: ReadXls::Workbook
- Inherits:
-
Object
- Object
- ReadXls::Workbook
- Defined in:
- lib/read_xls/workbook.rb,
lib/read_xls/workbook/worksheet.rb,
lib/read_xls/workbook/worksheet_builder.rb,
lib/read_xls/workbook/shared_string_table.rb
Defined Under Namespace
Classes: SharedStringTable, Worksheet, WorksheetBuilder
Instance Attribute Summary collapse
-
#extended_formats ⇒ Object
Returns the value of attribute extended_formats.
-
#formats ⇒ Object
Returns the value of attribute formats.
-
#worksheets ⇒ Object
Returns the value of attribute worksheets.
Instance Method Summary collapse
-
#initialize ⇒ Workbook
constructor
A new instance of Workbook.
Constructor Details
#initialize ⇒ Workbook
Returns a new instance of Workbook.
5 6 7 8 9 |
# File 'lib/read_xls/workbook.rb', line 5 def initialize self.worksheets = [] self.formats = [] self.extended_formats = [] end |
Instance Attribute Details
#extended_formats ⇒ Object
Returns the value of attribute extended_formats.
3 4 5 |
# File 'lib/read_xls/workbook.rb', line 3 def extended_formats @extended_formats end |
#formats ⇒ Object
Returns the value of attribute formats.
3 4 5 |
# File 'lib/read_xls/workbook.rb', line 3 def formats @formats end |
#worksheets ⇒ Object
Returns the value of attribute worksheets.
3 4 5 |
# File 'lib/read_xls/workbook.rb', line 3 def worksheets @worksheets end |