Skip to content

Conversation

@doconnor-clintel
Copy link

@doconnor-clintel doconnor-clintel commented May 16, 2025

Fix #15

https://ruby-doc.org/stdlib-3.0.0/libdoc/csv/rdoc/CSV.html#method-i-headers rather than the internal variable being targetted.

@doconnor-clintel doconnor-clintel marked this pull request as draft May 16, 2025 04:26
@doconnor-clintel doconnor-clintel marked this pull request as ready for review May 16, 2025 04:40
@doconnor-clintel doconnor-clintel changed the title Avoid crash on nil/undefined variable Refactor implementation to use accessor May 16, 2025
@doconnor-clintel doconnor-clintel changed the title Refactor implementation to use accessor Refactor implementation to use accessor for headers May 16, 2025
@doconnor-clintel doconnor-clintel changed the title Refactor implementation to use accessor for headers Refactor implementation to use accessor for headers, avoiding crash May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instance variable @headers is nil at csv-safe.rb:56:in `sanitize_row'

1 participant