Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow :newline option to CSV.open #198

Merged
merged 3 commits into from
Dec 29, 2020
Merged

Allow :newline option to CSV.open #198

merged 3 commits into from
Dec 29, 2020

Conversation

nobu
Copy link
Member

@nobu nobu commented Dec 29, 2020

As :newline has priority over :universal_newline etc. in IO.open, so deal with both.
On the other hand, such options cannot be passed to CSV#initialize.

As `:newline` has priority over `:universal_newline` etc. in
`IO.open`, so deal with both.  On the other hand, such options
cannot be passed to `CSV#initialize`.
lib/csv.rb Outdated Show resolved Hide resolved
Co-authored-by: Espartaco Palma <esparta@gmail.com>
@kou kou merged commit f015c0e into master Dec 29, 2020
@kou kou deleted the newline-options branch December 29, 2020 23:42
@kou
Copy link
Member

kou commented Dec 29, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants