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
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
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
14 15 16 |
# File 'lib/spreadsheet/excel.rb', line 14 def close write @file_path end |