Sha256: 860a972817966a9bd34f9265283b4225c48ad65f897d76762b58ba09d284d9c7
Contents?: true
Size: 568 Bytes
Versions: 3
Compression:
Stored size: 568 Bytes
Contents
require 'squib' Squib::Deck.new(width: '50mm', height: '70mm', cards: 9) do background color: :white rect stroke_width: 5, stroke_color: :red text str: (0..9).map{ |i| "Card! #{i}\n50x77mm" }, font: 'Sans 32', align: :center, valign: :middle, height: :deck, width: :deck %w( a4_poker_card_8up.yml a4_euro_card.yml a4_poker_card_9up.yml a4_usa_card.yml letter_poker_card_9up.yml printplaygames_18up.yml drivethrucards_1up.yml ).each do |builtin| save_sheet sprue: builtin, prefix: "sprue_#{builtin}_" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
squib-0.15.2 | samples/sprues/_builtin_sprues.rb |
squib-0.15.1 | samples/sprues/_builtin_sprues.rb |
squib-0.14.2 | samples/sprues/_builtin_sprues.rb |