roo-rb / roo

Roo provides an interface to spreadsheets of several sorts.
MIT License
2.79k stars 501 forks source link

[FetureRequest] Allow default nil value if no header matched #446

Closed hutusi closed 6 years ago

hutusi commented 6 years ago

If there is no header matched when parsing a sheet, roo will raise Roo::HeaderRowNotFoundError.

Can roo allow set nil value instead of raise Roo::HeaderRowNotFoundError by options?

tgturner commented 6 years ago

@hutusi Thank you for your suggestion. There are a couple of ideas around this that are being thought about. I'm going to mark this issue as a duplicate in favor of https://github.com/roo-rb/roo/issues/421 If you have any more thoughts feel free to add them to that discussion!