Class: Spreadsheet::Excel::ExcelCompatibleWorkbook
- Defined in:
- lib/spreadsheet/excel.rb
Constant Summary
Constants inherited from Workbook
Workbook::BIFF_VERSIONS, Workbook::VERSION_STRINGS
Instance Attribute Summary
Attributes inherited from Workbook
Attributes included from Offset
Attributes inherited from Workbook
#active_worksheet, #default_format, #encoding, #fonts, #formats, #io, #version, #worksheets
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(file_path, *args) ⇒ ExcelCompatibleWorkbook
constructor
A new instance of ExcelCompatibleWorkbook.
Methods inherited from Workbook
#add_shared_string, #add_worksheet, #biff_version, open, #shared_string, #sst_size, #uninspect_variables, #version_string
Methods included from Offset
Methods included from Compatibility
Methods inherited from Workbook
#add_font, #add_format, #add_worksheet, #create_worksheet, #font, #format, #inspect, #uninspect_variables, #worksheet, #write, #writer
Constructor Details
#initialize(file_path, *args) ⇒ ExcelCompatibleWorkbook
Returns a new instance of ExcelCompatibleWorkbook.
15 16 17 18 |
# File 'lib/spreadsheet/excel.rb', line 15 def initialize file_path, *args super *args @file_path = file_path end |
Instance Method Details
#close ⇒ Object
19 20 21 |
# File 'lib/spreadsheet/excel.rb', line 19 def close write @file_path end |