Method: Writexlsx::Package::Packager#initialize
- Defined in:
- lib/write_xlsx/package/packager.rb
#initialize(workbook) ⇒ Packager
Returns a new instance of Packager.
28 29 30 31 32 33 |
# File 'lib/write_xlsx/package/packager.rb', line 28 def initialize(workbook) @workbook = workbook @package_dir = '' @table_count = @workbook.worksheets.tables_count @named_ranges = [] end |