开发者

What's the easiest way to export a CSV to Excel with Ruby?

I'm using Ruby 1.9 for this. I need to convert Rub开发者_StackOverflow社区y arrays into a Excel spreadsheet document (xls).


I use two gems to export to Excel-readable formats: Spreadsheet (can create/parse .xls) and FasterCSV (faster, but as far as I can remember doesn't work with .xls files)


I've had excellent results with WriteExcel (which is a Ruby port of a Perl library of the same name).


Csv files would be the fastest if you just want to export values

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜