Sha256: 3919af19fc4a39c5c2b8db92bb7e638ee97239c5ea8d7d07fc8bcc7181e15e10

Contents?: true

Size: 589 Bytes

Versions: 3

Compression:

Stored size: 589 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.3 samples/sprues/_builtin_sprues.rb
squib-0.15.0 samples/sprues/_builtin_sprues.rb
squib-0.14.3.pre1 samples/sprues/_builtin_sprues.rb