Open TomFreudenberg opened 4 years ago
This is a bug fix for method Base::info when object is initialized by stream and not filename
require 'roo' content = "Id;Name;Surname;Title\n" (1..1000).each { |i| content << "#{i};John;Wick;Actor\n" } content_io = StringIO.new(content) spreadsheet = Roo::CSV.new(content_io, csv_options: { col_sep: ';' }) puts spreadsheet.info spreadsheet.reload puts spreadsheet.info
What happens without this fix:
Summary
This is a bug fix for method Base::info when object is initialized by stream and not filename
What happens without this fix: