samples/excel.rb in squib-0.0.5 vs samples/excel.rb in squib-0.0.6
- old
+ new
@@ -1,8 +1,7 @@
-#!/usr/bin/env ruby
require 'squib'
-Squib::Deck.new(width: 825, height: 1125, cards: 3) do
+Squib::Deck.new(cards: 3) do
background color: :white
# Takes the first sheet by default
# Outputs a hash of arrays with the header names as keys
data = xlsx file: 'sample.xlsx'