lib/squib/project_template/deck.rb in squib-0.0.2 vs lib/squib/project_template/deck.rb in squib-0.0.3
- old
+ new
@@ -1,6 +1,6 @@
-require 'squib'
-
-Squib::Deck.new(cards: 3) do
- text str: "Hello, World!"
- save format: :png
+require 'squib'
+
+Squib::Deck.new(cards: 3, layout: 'layout.yml') do
+ text str: "Hello, World!"
+ save format: :png
end
\ No newline at end of file