Browse Source

Fixing docs

dev
Andy Meneely 11 years ago
parent
commit
e4a56a27c5
  1. 2
      lib/squib/api/save.rb

2
lib/squib/api/save.rb

@ -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 [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.
# @return [nil] Returns nothing.
# @api public
def showcase(opts = {})
opts = {file: 'showcase.png', fill_color: :white}.merge(opts)
opts = needs(opts,[:range, :trim, :trim_radius, :creatable_dir, :file_to_save, :face])

Loading…
Cancel
Save