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

Pattern matching for CSV rows #4215

Closed
wants to merge 1 commit into from

Conversation

kddnewton
Copy link
Contributor

I'd like to be able to use pattern matching against CSV rows, so this commit adds deconstruct and deconstruct_keys methods to CSV::Row.

I'd like to be able to use pattern matching against CSV rows, so this commit adds deconstruct and deconstruct_keys methods to CSV::Row.
@krzysiek1507
Copy link

krzysiek1507 commented Feb 23, 2021

I think you should create a PR in this repo: https://github.com/ruby/csv

@kddnewton
Copy link
Contributor Author

Ahh thanks will do!

@kddnewton kddnewton closed this Feb 23, 2021
@kddnewton kddnewton deleted the csv-pattern-matching branch February 23, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants