Last active
June 15, 2016 12:34
-
-
Save Dysp/e99fb71f3835426aeb9a8dcfbfc51237 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def retrieve_data(sheets) | |
array = get_values(sheets) | |
p array | |
end | |
def get_values(sheets) | |
sheets.each do |s| | |
puts "Working..." | |
s.each do |row| unless row.nil? | |
row.cells.map do |cell| | |
cell.value.class unless cell.nil? | |
end | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment