samples/intro/03_layout.rb in squib-0.18.0 vs samples/intro/03_layout.rb in squib-0.19.0a
- old
+ new
@@ -1,11 +1,11 @@
-require 'squib'
-
-Squib::Deck.new cards: 1, layout: 'part3_layout.yml' do
- background color: '#252322'
- rect layout: 'backdrop'
- text str: 'Robot Golem', layout: 'title'
- svg layout: 'drone'
- svg file: 'robot-golem.svg', layout: 'art'
- text str: 'Draw two cards.', layout: 'power'
- save_png prefix: 'part3_'
-end
+require 'squib'
+
+Squib::Deck.new cards: 1, layout: 'part3_layout.yml' do
+ background color: '#252322'
+ rect layout: 'backdrop'
+ text str: 'Robot Golem', layout: 'title'
+ svg layout: 'drone'
+ svg file: 'robot-golem.svg', layout: 'art'
+ text str: 'Draw two cards.', layout: 'power'
+ save_png prefix: 'part3_'
+end