module SingleXLSX::Reading
Public Instance Methods
read(path)
click to toggle source
# File lib/single_xlsx/reading.rb, line 6 def read(path) book = RubyXL::Parser.parse(path) book[0].sheet_data.rows.map do |row| row.cells.map { |cell| cell.try(:value).presence } end end