|
|
|
@ -45,11 +45,11 @@ module Squib |
|
|
|
# text str: 'Hello, World!' |
|
|
|
# text str: 'Hello, World!' |
|
|
|
# end |
|
|
|
# end |
|
|
|
# |
|
|
|
# |
|
|
|
# @param width: [Integer] the width of each card in pixels |
|
|
|
# @param width [Integer] the width of each card in pixels |
|
|
|
# @param height: [Integer] the height of each card in pixels |
|
|
|
# @param height [Integer] the height of each card in pixels |
|
|
|
# @param cards: [Integer] the number of cards in the deck |
|
|
|
# @param cards [Integer] the number of cards in the deck |
|
|
|
# @param dpi: [Integer] the pixels per inch when rendering out to PDF or calculating using inches. |
|
|
|
# @param dpi [Integer] the pixels per inch when rendering out to PDF or calculating using inches. |
|
|
|
# @param config: [String] the file used for global settings of this deck |
|
|
|
# @param config [String] the file used for global settings of this deck |
|
|
|
# @param block [Block] the main body of the script. |
|
|
|
# @param block [Block] the main body of the script. |
|
|
|
# @api public |
|
|
|
# @api public |
|
|
|
def initialize(width: 825, height: 1125, cards: 1, dpi: 300, config: 'config.yml', layout: nil, &block) |
|
|
|
def initialize(width: 825, height: 1125, cards: 1, dpi: 300, config: 'config.yml', layout: nil, &block) |
|
|
|
|