samples/config_text_markup.rb in squib-0.9.0 vs samples/config_text_markup.rb in squib-0.10.0
- old
+ new
@@ -4,17 +4,17 @@
background color: :white
text str: %{"'Yaml ain't markup', he says"},
x: 10, y: 10, width: 300, height: 200, font: 'Serif 20',
markup: true, hint: :cyan
- text str: "Notice also the antialiasing method.",
+ text str: 'Notice also the antialiasing method.',
x: 320, y: 10, width: 300, height: 200, font: 'Arial Bold 20'
save_png prefix: 'config_text_'
end
Squib::Deck.new(config: 'config_disable_quotes.yml') do
text str: %{This has typographic sugar --- and ``explicit'' quotes --- but the quotes are "dumb"},
x: 10, y: 10, width: 300, height: 200, font: 'Serif 20',
markup: true, hint: :cyan
save_png prefix: 'config_disable_text_'
-end
\ No newline at end of file
+end