Update sample to use cleaner syntax
parent
243b3836c4
commit
78ee185fde
|
|
@ -1,5 +1,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
require 'squib'
|
require 'squib'
|
||||||
|
require 'pp'
|
||||||
|
|
||||||
Squib::Deck.new(layout: 'custom-layout.yml') do
|
Squib::Deck.new(layout: 'custom-layout.yml') do
|
||||||
background color: :white
|
background color: :white
|
||||||
|
|
@ -29,7 +30,7 @@ Squib::Deck.new(layout: 'custom-layout.yml') do
|
||||||
|
|
||||||
# For debugging purposes, you can always print out the loaded layout
|
# For debugging purposes, you can always print out the loaded layout
|
||||||
# require 'pp'
|
# require 'pp'
|
||||||
#pp @layout
|
# pp layout
|
||||||
|
|
||||||
save_png prefix: 'layout_'
|
save_png prefix: 'layout_'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue