Sha256: 6d5fbf096307f21b89b02068c28dfaca16a7daad403839909e5aa15ddb2ec477

Contents?: true

Size: 428 Bytes

Versions: 6

Compression:

Stored size: 428 Bytes

Contents

require 'squib'

Squib::Deck.new cards: 2, layout: 'part3_layout.yml' do
  background color: '#252322'
  rect layout: 'backdrop'
  text str: ['Robot Golem', 'Ninja'],
       layout: 'title'
  svg layout: ['drone', 'human']
  svg file: ['robot-golem.svg','ninja-mask.svg'],
      layout: 'art'
  text str: ['Draw two cards',
             'Use the power of another player'],
       layout: 'power'
  save_png prefix: 'part4_'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
squib-0.19.0 samples/intro/04_arrays.rb
squib-0.19.0b samples/intro/04_arrays.rb
squib-0.19.0a samples/intro/04_arrays.rb
squib-0.15.2 samples/intro/04_arrays.rb
squib-0.15.1 samples/intro/04_arrays.rb
squib-0.14.2 samples/intro/04_arrays.rb