We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbfc34 commit e4a56a2Copy full SHA for e4a56a2
lib/squib/api/save.rb
@@ -57,6 +57,8 @@ def save_png(opts = {})
57
# @option opts [:left, :right] face (:left) which direction the cards face. Anything but `:right` will face left
58
# @option opts [String] dir (_output) the directory for the output to be sent to. Will be created if it doesn't exist.
59
# @option opts [String] file ('showcase.png') the file to save in dir. Will be overwritten.
60
+ # @return [nil] Returns nothing.
61
+ # @api public
62
def showcase(opts = {})
63
opts = {file: 'showcase.png', fill_color: :white}.merge(opts)
64
opts = needs(opts,[:range, :trim, :trim_radius, :creatable_dir, :file_to_save, :face])
0 commit comments