Sha256: 51f2a74ffb9272ea4346ccd2b9b857cdbc919623e90636153469bd3424320bf8

Contents?: true

Size: 364 Bytes

Versions: 13

Compression:

Stored size: 364 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

13 entries across 13 versions & 1 rubygems

Version Path
squib-0.18.0 samples/sprues/_sprue_example.rb
squib-0.17.2 samples/sprues/_sprue_example.rb
squib-0.17.1 samples/sprues/_sprue_example.rb
squib-0.17.0 samples/sprues/_sprue_example.rb
squib-0.16.0 samples/sprues/_sprue_example.rb
squib-0.16.0.pre.preview2 samples/sprues/_sprue_example.rb
squib-0.16.0.pre.preview1 samples/sprues/_sprue_example.rb
squib-0.15.3 samples/sprues/_sprue_example.rb
squib-0.15.0 samples/sprues/_sprue_example.rb
squib-0.14.3.pre1 samples/sprues/_sprue_example.rb
squib-0.14.1 samples/sprues/_sprue_example.rb
squib-0.14.0 samples/sprues/_sprue_example.rb
squib-0.14.beta1 samples/sprues/_sprue_example.rb