README.md in exporter-0.0.3 vs README.md in exporter-0.1.0

- old
+ new

@@ -2,26 +2,31 @@ [![Gem Version](https://badge.fury.io/rb/exporter.png)](http://badge.fury.io/rb/exporter) [![Build Status](https://travis-ci.org/voanhduy1512/exporter.png?branch=master)](https://travis-ci.org/voanhduy1512/exporter) [![Code Climate](https://codeclimate.com/github/voanhduy1512/exporter.png)](https://codeclimate.com/github/voanhduy1512/exporter) [![Coverage Status](https://coveralls.io/repos/voanhduy1512/exporter/badge.png)](https://coveralls.io/r/voanhduy1512/exporter) [![Dependency Status](https://gemnasium.com/voanhduy1512/exporter.png)](https://gemnasium.com/voanhduy1512/exporter) +[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/voanhduy1512/exporter/trend.png)](https://bitdeli.com/free "Bitdeli Badge") - - - ## Installation Add this line to your application's Gemfile: gem 'exporter' And then execute: $ bundle -Or install it yourself as: +## Usage +``` ruby +# Here is the data which you want to export +users = User.all - $ gem install exporter +# export it +Exporter.export(users, :csv).to_file(path_to_file) +``` -## Usage +Only support export to csv now (more types are coming) -TODO: Write usage instructions here + + +