Class: RgGen::SpreadsheetLoader::XLSXLoader
- Inherits:
-
Core::RegisterMap::Loader
- Object
- Core::RegisterMap::Loader
- RgGen::SpreadsheetLoader::XLSXLoader
- Includes:
- SpreadsheetLoader
- Defined in:
- lib/rggen/spreadsheet_loader/xlsx_loader.rb
Instance Method Summary collapse
Methods included from SpreadsheetLoader
Instance Method Details
#read_spreadsheet(file, book) ⇒ Object
10 11 12 13 |
# File 'lib/rggen/spreadsheet_loader/xlsx_loader.rb', line 10 def read_spreadsheet(file, book) SimpleXlsxReader.open(file) .sheets.each { |sheet| process_sheet(sheet, book) } end |