Sha256: 51a777b97ba7967d1c2d5d9d166b5fadbd6a77bb2920c26148eb424998700db9

Contents?: true

Size: 544 Bytes

Versions: 7

Compression:

Stored size: 544 Bytes

Contents

require 'squib'

Squib::Deck.new(config: 'custom-config.yml') do
  # Custom color defined in our config
  background color: :foo

  # Hints are turned on in the config file
  text str: 'The Title', x: 0, y: 78, width: 825,
       font: 'Arial 72', align: :center

  # Progress bars are shown for these commands
  # And images are taken from config-imgdir
  png file: 'shiny-purse2.png', x: 620, y: 75
  svg file: 'spanner2.svg', x: 620, y: 218
  save_png prefix: 'custom-config_'
  save_pdf file: 'custom-config-out.pdf'

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
squib-0.5.1 samples/custom_config.rb
squib-0.5.0 samples/custom_config.rb
squib-0.4.0 samples/custom_config.rb
squib-0.3.0 samples/custom_config.rb
squib-0.2.0 samples/custom_config.rb
squib-0.1.0 samples/custom_config.rb
squib-0.0.6 samples/custom_config.rb