Finished CSV feature

This commit is contained in:
Andy Meneely
2014-12-08 00:05:18 -05:00
parent 501dc417d0
commit 04b55d8b32
9 changed files with 174 additions and 11 deletions
+4 -1
View File
@@ -13,5 +13,8 @@ Squib::Deck.new(cards: 2) do
# You can also specify the sheet, starting at 0
data = xlsx file: 'sample.xlsx', sheet: 2
save format: :png, prefix: 'sample_excel_'
save format: :png, prefix: 'sample_csv_'
end
# CSV is also a Squib-module-level function, so this also works:
data = Squib.csv file: 'sample.csv'