Rubocop: Trailing Whitespace
parent
7d0a9ded7e
commit
37fd4e7733
2
Rakefile
2
Rakefile
|
|
@ -3,7 +3,7 @@ require 'rspec/core/rake_task'
|
||||||
require 'yard'
|
require 'yard'
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:spec)
|
RSpec::Core::RakeTask.new(:spec)
|
||||||
task :default => [:install, :spec]
|
task default: [:install, :spec]
|
||||||
|
|
||||||
YARD::Rake::YardocTask.new(:doc) do |t|
|
YARD::Rake::YardocTask.new(:doc) do |t|
|
||||||
t.files = ['lib/**/*.rb', 'samples/**/*.rb'] # optional
|
t.files = ['lib/**/*.rb', 'samples/**/*.rb'] # optional
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue