Browse Source

Rubocop: Trailing Whitespace

dev
Andy Meneely 11 years ago
parent
commit
37fd4e7733
  1. 2
      Rakefile
  2. 10
      lib/squib/deck.rb

2
Rakefile

@ -3,7 +3,7 @@ require 'rspec/core/rake_task'
require 'yard'
RSpec::Core::RakeTask.new(:spec)
task :default => [:install, :spec]
task default: [:install, :spec]
YARD::Rake::YardocTask.new(:doc) do |t|
t.files = ['lib/**/*.rb', 'samples/**/*.rb'] # optional

10
lib/squib/deck.rb

@ -45,11 +45,11 @@ module Squib
# text str: 'Hello, World!'
# end
#
# @param width: [Integer] the width 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 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 width [Integer] the width 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 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 block [Block] the main body of the script.
# @api public
def initialize(width: 825, height: 1125, cards: 1, dpi: 300, config: 'config.yml', layout: nil, &block)

Loading…
Cancel
Save