Displaying 2 results from an estimated 2 matches for "excelx".
Did you mean:
excel
2013 Oct 21
3
What it exactly do these do ( RubyXL::Parser.parse and Roo::Excelx.new) when opening a file?
Do they open a file and load it into memory?
I''m asking because it seems to take a long time opening a file but after it
opens looping into the variable is REALLY fast, could someone explain me or
tell me where can I find an explanaition on how this sort of things work?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Feb 02
1
Roo gem performance problems
...formace problems by using the roo gem for
reading a file by using XLSX or XLS library from this gem.
Someone may suggest me an alternative about how to parse an .XLSX file?
<code>
parsed_file = Excel.new(filename,false, :ignore) if (file_format.upcase
== "XLS")
parsed_file = Excelx.new(filename,false, :ignore) if
(file_format.upcase == "XLSX")
raise t "#{filename} is not an Excel file!" if (!parsed_file)
parsed_file.default_sheet =
parsed_file.sheets[0]#''Sheet2''#oo.sheets[1]
first_row = parsed_file.first_row
last...