lib/squib/api/image.rb in squib-0.10.0 vs lib/squib/api/image.rb in squib-0.11.0
- old
+ new
@@ -6,11 +6,11 @@
require_relative '../args/svg_special'
module Squib
class Deck
- # DSL method. See http://squib.readthedocs.org
+ # DSL method. See http://squib.readthedocs.io
def png(opts = {})
Dir.chdir(img_dir) do
range = Args::CardRange.new(opts[:range], deck_size: size)
paint = Args::Paint.new(custom_colors).load!(opts, expand_by: size, layout: layout)
box = Args::ScaleBox.new(self).load!(opts, expand_by: size, layout: layout, dpi: dpi)
@@ -23,10 +23,10 @@
end
end
end
end
- # DSL method. See http://squib.readthedocs.org
+ # DSL method. See http://squib.readthedocs.io
def svg(opts = {})
Dir.chdir(img_dir) do
range = Args::CardRange.new(opts[:range], deck_size: size)
paint = Args::Paint.new(custom_colors).load!(opts, expand_by: size, layout: layout)
box = Args::ScaleBox.new(self).load!(opts, expand_by: size, layout: layout, dpi: dpi)