简体   繁体   English

是否有任何 Ruby gem 可以同时读取 .xls 和 .xlsx 文件?

[英]Is there any Ruby gem to read both .xls and .xlsx files?

As I have known, there are some Ruby gems to read.xls and.xlsx files.据我所知,有一些 Ruby gems 可以读取.xls 和.xlsx 文件。

rubyXL : read.xlsx and.xlsm files rubyXL :读取.xlsx 和.xlsm 文件

spreadsheet : read.xls file电子表格:read.xls 文件

Also know some gems to write an excel file.还知道一些宝石来编写 excel 文件。

axlsx : only write.xlsx file axlsx :只写.xlsx 文件

But I couldn't find any gem to read both file types.但我找不到任何可以读取这两种文件类型的宝石。

Does anyone know?有人知道吗?

I've had success using roo with the roo-xls extension.我已经成功使用带有roo -xls扩展名的 roo。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM