Class: ReadXls::Workbook

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeWorkbook

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_formatsObject

Returns the value of attribute extended_formats.



3
4
5
# File 'lib/read_xls/workbook.rb', line 3

def extended_formats
  @extended_formats
end

#formatsObject

Returns the value of attribute formats.



3
4
5
# File 'lib/read_xls/workbook.rb', line 3

def formats
  @formats
end

#worksheetsObject

Returns the value of attribute worksheets.



3
4
5
# File 'lib/read_xls/workbook.rb', line 3

def worksheets
  @worksheets
end