Skip to content

Instantly share code, notes, and snippets.

@gmcinnes
Created April 2, 2015 21:11
Show Gist options
  • Save gmcinnes/7c9dc30d6c11dae1d0cb to your computer and use it in GitHub Desktop.
Save gmcinnes/7c9dc30d6c11dae1d0cb to your computer and use it in GitHub Desktop.
Results
results = []
xlsx = Roo::Spreadsheet.open('./fund_composition.xlsx')
xlsx.each_with_pagename do |name, sheet|
sheet.each do |row|
row.each do |cell|
results << cell unless results.include? cell
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment