You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
332 B
12 lines
332 B
require 'squib' |
|
|
|
Squib::Deck.new(cards: 2) do |
|
background color: :white |
|
|
|
# Outputs a hash of arrays with the header names as keys |
|
data = yaml file: 'sample.yaml' |
|
text str: data['Type'], x: 250, y: 55, font: 'Arial 18' |
|
text str: data['Level'], x: 65, y: 65, font: 'Arial 24' |
|
|
|
save format: :png, prefix: 'sample_yaml_' |
|
end
|
|
|