paulspringett/csv_shaper — pull request #19 by adamcooper (2014-07-03 22:31:40+00:00)
Title: Add inflector option

For now you can specify inflector for header column:

Example:

```ruby
csv.headers do |csv|
csv.columns :name, :age, :location
csv.mappings name: 'Full name', location: 'Region'
csv.inflector :titleize
end
```

or

```ruby
CsvShaper.configure do |config|
config.header_inflector = :titleize
end
```
or

```ruby
csv_string = CsvShaper::Shaper.encode(header_inflector: :titleize) do |csv|
...
end
```