Project

exporter

0.0
No commit activity in last 3 years
No release in over 3 years
A simple gem for export data to other format
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Exporter

Gem Version Build Status Code Climate Coverage Status Dependency Status Bitdeli Badge

Help you to export your data to csv or excel in a dead simple way

Installation

Add this line to your application's Gemfile:

gem 'exporter'

And then execute:

$ bundle

Usage

# Here is the data which you want to export
users = User.all

# export it
Exporter.export(users, :csv).to_file('user.csv')
Exporter.export(users, :excel).to_file('user.xls')

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Run the tests, ensuring they all pass (with travis)
  5. Submit a Pull Request using Github