samples/sprues/_sprue_example.rb in squib-0.14.2 vs samples/sprues/_sprue_example.rb in squib-0.14.3.pre1

- old
+ new

@@ -1,11 +1,11 @@ -require 'squib' - -Squib::Deck.new(cards: 9) do - background color: :white - rect stroke_width: 5, stroke_color: :red - text str: (0..9).map{ |i| "Card #{i}\n2.5x3.5in" }, - font: 'Sans 32', align: :center, valign: :middle, - height: :deck, width: :deck - save_sheet sprue: 'letter_poker_card_9up.yml', - prefix: "sprue_example_" -end +require 'squib' + +Squib::Deck.new(cards: 9) do + background color: :white + rect stroke_width: 5, stroke_color: :red + text str: (0..9).map{ |i| "Card #{i}\n2.5x3.5in" }, + font: 'Sans 32', align: :center, valign: :middle, + height: :deck, width: :deck + save_sheet sprue: 'letter_poker_card_9up.yml', + prefix: "sprue_example_" +end