Browse Source

Fixing docs for #initialize

dev
Andy Meneely 12 years ago
parent
commit
98c4152a21
  1. 10
      lib/squib/deck.rb

10
lib/squib/deck.rb

@ -29,11 +29,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', &block) def initialize(width: 825, height: 1125, cards: 1, dpi: 300, config: 'config.yml', &block)

Loading…
Cancel
Save