Sha256: 6c3d6574de7cb4f5ca81b3adc59c0cc23efe870026f2ca94f98cdde0316a7402

Contents?: true

Size: 334 Bytes

Versions: 13

Compression:

Stored size: 334 Bytes

Contents

require 'squib'

# An example deck that uses "mint" sized cards (e.g. Altoids).
# These cards are pretty small but comfortably fit in a mint tin

Squib::Deck.new(cards: 21, width: '54.0mm', height: '68.0mm') do
  background color: :gray
  rect
  text str: (1..21).to_a
  save_pdf sprue: 'my_sprues/us_letter_mints.yml'
end

Version data entries

13 entries across 13 versions & 1 rubygems

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