Closed sparta-developers closed 6 years ago
In the documentation, the option argument name claims to be :header: https://github.com/plataformatec/nimble_csv/blob/v0.4.0/lib/nimble_csv.ex#L148
:header
However, the tests and implementation use the option :headers: https://github.com/plataformatec/nimble_csv/blob/v0.4.0/test/nimble_csv_test.exs#L17
:headers
It took us a little bit to figure out why the option wasn't working as expected.
It has been fixed in master but I haven't pushed new docs. I have done that now, thanks!
In the documentation, the option argument name claims to be
:header
: https://github.com/plataformatec/nimble_csv/blob/v0.4.0/lib/nimble_csv.ex#L148However, the tests and implementation use the option
:headers
: https://github.com/plataformatec/nimble_csv/blob/v0.4.0/test/nimble_csv_test.exs#L17It took us a little bit to figure out why the option wasn't working as expected.