Data-Liberation-Front / csvlint.rb

The gem behind http://csvlint.io
MIT License
287 stars 88 forks source link

validate called in initialize, not consistent with docs #114

Open pmackay opened 9 years ago

pmackay commented 9 years ago

The README suggests to construct a Validator and then call validator.validate. This is not necessary as validate is called in initialize. This results in double the number of recorded issues.

Suggest either fix the docs or remove call to validate in initialize?

waded commented 9 years ago

This bit me too.

glacier commented 9 years ago

yes it would be nice to update the docs. I had to look at the code to figure this out. thanks!