RUBY – Como ler XLS

require 'spreadsheet'    
Spreadsheet.open('MyTestSheet.xls') do |book|
  book.worksheet('Sheet1').each do |row|
    break if row[0].nil?
    puts row.join(',')
  end
end

http://stackoverflow.com/questions/3309511/how-do-i-read-the-content-of-an-excel-spreadsheet-using-ruby

Share and Enjoy !

0Shares
0 0