Rubocop: TrailingBlankLines
This commit is contained in:
@@ -24,4 +24,4 @@ Squib::Deck.new(cards: 3) do
|
||||
font: 'Arial', font_size: autoscale(title), hint: :red
|
||||
|
||||
save prefix: 'autoscale_', format: :png
|
||||
end
|
||||
end
|
||||
|
||||
+1
-1
@@ -17,4 +17,4 @@ Squib::Deck.new(width: 825, height: 1125, cards: 3) do
|
||||
svg range: 1..2, file: 'spanner.svg', x: 620, y: 218
|
||||
|
||||
save prefix: 'basic_', format: :png#, progress_bar: true
|
||||
end
|
||||
end
|
||||
|
||||
+1
-1
@@ -13,4 +13,4 @@ Squib::Deck.new(width: 825, height: 1125, cards: 1) do
|
||||
text color: :burnt_orange, str: 'Symbols of constants too', x: 50, y: y+=50
|
||||
|
||||
save_png prefix: 'colors_'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -16,4 +16,4 @@ Squib::Deck.new(config: 'custom-config.yml') do
|
||||
save_png prefix: 'custom-config_'
|
||||
save_pdf file: 'custom-config-out.pdf'
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -16,4 +16,4 @@ Squib::Deck.new do
|
||||
stroke_width: 25.0
|
||||
|
||||
save_png prefix: 'shape_'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -4,4 +4,4 @@ require 'squib'
|
||||
Squib::Deck.new do
|
||||
text str: 'Hello, World!'
|
||||
save_png
|
||||
end
|
||||
end
|
||||
|
||||
@@ -20,4 +20,4 @@ Squib::Deck.new(width: 1125, height: 825) do
|
||||
text str: 'This is landscape'
|
||||
|
||||
save_png prefix: 'landscape_', rotate: true
|
||||
end
|
||||
end
|
||||
|
||||
@@ -52,4 +52,3 @@ Squib::Deck.new(width: 825, height: 1125, cards: 3) do
|
||||
|
||||
save prefix: 'ranges_', format: :png
|
||||
end
|
||||
|
||||
|
||||
@@ -17,4 +17,4 @@ Squib::Deck.new(width: 825, height: 1125, cards: 1) do
|
||||
png file: 'pokercard.png', x:0, y:0, alpha: 0.5
|
||||
|
||||
save_png prefix: 'tgc_sample_'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -31,4 +31,4 @@ Squib::Deck.new(layout: 'custom-layout.yml') do
|
||||
#pp @layout
|
||||
|
||||
save_png prefix: 'layout_'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user