This GEM provides a wrapper to the http://poi.apache.org/ library for converting Excel (.xls and .xlsx) files to CSV.
Add this line to your application's Gemfile:
gem 'poi2csv'
And then execute:
$ bundle
Or install it yourself as:
$ gem install poi2csv
Poi2csv::to_csv(input_file_path, output_folder_path, separator=nil, formating_convention=nil)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request