Sha256: 28b64cb260a4a528404cceb7ec3f5ddb9eed63293bf5d766b7ba0585621e5a45

Contents?: true

Size: 888 Bytes

Versions: 3

Compression:

Stored size: 888 Bytes

Contents

# CsvGenerator

[![Build Status](https://semaphoreapp.com/api/v1/projects/ad79168d-d8c1-45c5-9a25-6e8354304f83/300861/badge.png)](https://semaphoreapp.com/cesare/csv_generator)

Just a CSV generator :)
It ensures string fields quoted.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'csv_generator'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install csv_generator

## Usage

```ruby
CsvGenerator.generate('example.csv') do |csv|
  csv << ['0123', 456, 'this is a string']
end
# writes to example.csv:
# "0123",456,"this is a string"
```

## Contributing

1. Fork it ( https://github.com/cesare/csv_generator/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv_generator-0.5.2 README.md
csv_generator-0.5.1 README.md
csv_generator-0.5.0 README.md