Sha256: 0d56929baafcc688e5e908abae56b33f388aec90bd4a07aabe4753c3fceecfdf
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
#!/usr/bin/env ruby 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
squib-0.0.5 | samples/custom_config.rb |