Fix bugs and cleanup to save_sheet

This commit is contained in:
Andy Meneely
2021-10-22 23:15:11 -04:00
parent 969f16633e
commit d385e205a5
8 changed files with 28 additions and 30 deletions
+7 -1
View File
@@ -44,7 +44,9 @@ suffix
rotate
default: ``false``
If ``true``, the saved cards will be rotated 90 degrees clockwise. Or, rotate by the number of radians. Intended to rendering landscape instead of portrait. Possible values: ``true``, ``false``, ``:clockwise``, ``:counterclockwise``
if ``true``, all saved cards will be rotated 90 degrees clockwise. Possible values: ``true``, ``false``, ``:clockwise``, ``:counterclockwise``
Supports arrays so you can rotate individual cards different ways if that's how you want to roll, e.g. ``rotate: [:clockwise, :counterclockwise]``
dir
default: ``'_output'``
@@ -78,3 +80,7 @@ rtl
Examples
--------
.. literalinclude:: ../../samples/saves/_saves.rb
:language: ruby
:linenos: