samples/intro/05_excel.rb in squib-0.15.2 vs samples/intro/05_excel.rb in squib-0.15.3

- old
+ new

@@ -1,14 +1,14 @@ -require 'squib' - -Squib::Deck.new cards: 4, layout: 'part3_layout.yml' do - background color: '#252322' - rect layout: 'backdrop' - data = xlsx file: 'data.xlsx' - text str: data['name'], layout: 'title' - svg layout: data['class'] - svg file: data['art'], layout: 'art' - text str: data['power'], layout: 'power' - save_png prefix: 'part5_' - hand file: 'part5_hand.png', trim_radius: 38 - showcase file: 'part5_showcase.png' -end +require 'squib' + +Squib::Deck.new cards: 4, layout: 'part3_layout.yml' do + background color: '#252322' + rect layout: 'backdrop' + data = xlsx file: 'data.xlsx' + text str: data['name'], layout: 'title' + svg layout: data['class'] + svg file: data['art'], layout: 'art' + text str: data['power'], layout: 'power' + save_png prefix: 'part5_' + hand file: 'part5_hand.png', trim_radius: 38 + showcase file: 'part5_showcase.png' +end