Skip to content

Instantly share code, notes, and snippets.

@conorliv
Last active February 2, 2016 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save conorliv/e1e51c9c01163e9868c1 to your computer and use it in GitHub Desktop.
Save conorliv/e1e51c9c01163e9868c1 to your computer and use it in GitHub Desktop.
r2.2.2 :001 > require 'roo'
=> true
2.2.2 :002 > s = Roo::Excelx.new('./roo_error.xlsx')
=> <#Roo::Excelx:1776756266060540 @tmpdirs @tmpdir @shared @filename @sheet_files @workbook @sheet_names @sheets @sheets_by_name @options @cell @cell_type @cells_read @first_row @last_row @first_column @last_column @header_line>
2.2.2 :003 > s.each_row_streaming do |row|
2.2.2 :004 > p row.first.value
2.2.2 :005?> end
"Value"
nil
=> nil
@conorliv
Copy link
Author

conorliv commented Feb 2, 2016

I think that the value on line 9 should be "Value" instead of nil. This seems reasonable because A1 and A2 are merged together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment