csv: data option

Close #137
This commit is contained in:
Andy Meneely
2016-03-15 17:45:39 -04:00
parent e51b99af85
commit f408b7a88f
5 changed files with 25 additions and 3 deletions
+6 -1
View File
@@ -19,7 +19,12 @@ Options
file
default: ``'deck.csv'``
the CSV-formatted file to open. Opens relative to the current directory.
the CSV-formatted file to open. Opens relative to the current directory. If ``data`` is set, this option is overridden.
data
default: ``nil``
when set, CSV will parse this data instead of reading the file.
strip
default: ``true``