Sha256: d2a1aaba18519f173e1713afdaab54e52cc66465e1bc4d3d7f26e170ec5560d1

Contents?: true

Size: 353 Bytes

Versions: 6

Compression:

Stored size: 353 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
squib-0.19.0 samples/sprues/_sprue_example.rb
squib-0.19.0b samples/sprues/_sprue_example.rb
squib-0.19.0a samples/sprues/_sprue_example.rb
squib-0.15.2 samples/sprues/_sprue_example.rb
squib-0.15.1 samples/sprues/_sprue_example.rb
squib-0.14.2 samples/sprues/_sprue_example.rb