-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add delimiter override option for CSVs (#865)
If you want to render values separated with, say, semicolon, this patch lets you do this: ```ruby users = User.all UserExport.new(users, delimiter: ";").call ``` Since the vast majority will use commas, I've set comma as the default keyword argument, so this will still work: ```ruby users = User.all UserExport.new(users).call ``` Also added a quickdraw test. Hope this looks okay! This is my first PR here, so if I'm missing any coding standard, let me know. :)
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters