Module: RgGen::SpreadsheetLoader::SpreadsheetLoader

Included in:
CSVLoader, ODSLoader, XLSXLoader
Defined in:
lib/rggen/spreadsheet_loader/spreadsheet_loader.rb

Defined Under Namespace

Classes: Position

Instance Method Summary collapse

Instance Method Details

#read_file(file) ⇒ Object



8
9
10
# File 'lib/rggen/spreadsheet_loader/spreadsheet_loader.rb', line 8

def read_file(file)
  Spreadsheet::Book.new(file) { |book| read_spreadsheet(file, book) }
end