Class: RgGen::SpreadsheetLoader::ODSLoader

Inherits:
Core::RegisterMap::Loader
  • Object
show all
Includes:
SpreadsheetLoader
Defined in:
lib/rggen/spreadsheet_loader/ods_loader.rb

Instance Method Summary collapse

Methods included from SpreadsheetLoader

#read_file

Instance Method Details

#read_spreadsheet(file, book) ⇒ Object



10
11
12
13
# File 'lib/rggen/spreadsheet_loader/ods_loader.rb', line 10

def read_spreadsheet(file, book)
  SpreadBase::Document.new(file)
    .tables.each { |table| process_table(table, book) }
end