Sha256: bf1d725749b7a70a4e15808258075941ad4727b05b50d35ad3ac584ec32cca7e

Contents?: true

Size: 555 Bytes

Versions: 8

Compression:

Stored size: 555 Bytes

Contents

require 'squib'

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

  # Hints can be 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 img_dir, not the cwd.
  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

8 entries across 8 versions & 1 rubygems

Version Path
squib-0.13.4 samples/config/custom_config.rb
squib-0.13.3 samples/config/custom_config.rb
squib-0.13.2 samples/config/custom_config.rb
squib-0.13.1 samples/config/custom_config.rb
squib-0.13.0 samples/config/custom_config.rb
squib-0.12.0 samples/custom_config.rb
squib-0.11.0 samples/custom_config.rb
squib-0.9.0 samples/custom_config.rb