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, #palette, #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, #inspect, 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, #delete_worksheet, #font, #format, #inspect, #set_custom_color, #sheet_count, #uninspect_variables, #worksheet, #write, #writer
Constructor Details
#initialize(file_path, *args) ⇒ ExcelCompatibleWorkbook
Returns a new instance of ExcelCompatibleWorkbook.
9 10 11 12 |
# File 'lib/spreadsheet/excel.rb', line 9 def initialize file_path, *args super *args @file_path = file_path end |
Instance Method Details
#close ⇒ Object
13 14 15 |
# File 'lib/spreadsheet/excel.rb', line 13 def close write @file_path end |