Fixing docs

dev
Andy Meneely 2015-01-12 23:07:56 -05:00
parent cdbfc348a0
commit e4a56a27c5
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ module Squib
# @option opts [:left, :right] face (:left) which direction the cards face. Anything but `:right` will face left # @option opts [:left, :right] face (:left) which direction the cards face. Anything but `:right` will face left
# @option opts [String] dir (_output) the directory for the output to be sent to. Will be created if it doesn't exist. # @option opts [String] dir (_output) the directory for the output to be sent to. Will be created if it doesn't exist.
# @option opts [String] file ('showcase.png') the file to save in dir. Will be overwritten. # @option opts [String] file ('showcase.png') the file to save in dir. Will be overwritten.
# @return [nil] Returns nothing.
# @api public
def showcase(opts = {}) def showcase(opts = {})
opts = {file: 'showcase.png', fill_color: :white}.merge(opts) opts = {file: 'showcase.png', fill_color: :white}.merge(opts)
opts = needs(opts,[:range, :trim, :trim_radius, :creatable_dir, :file_to_save, :face]) opts = needs(opts,[:range, :trim, :trim_radius, :creatable_dir, :file_to_save, :face])