lib/rabbit/parser/ext/aafigure.rb in rabbit-0.9.3 vs lib/rabbit/parser/ext/aafigure.rb in rabbit-1.0.0
- old
+ new
@@ -3,10 +3,10 @@
module Ext
module AAFigure
module_function
AVAILABLE_OPTIONS = ["linewidth", "foreground", "fill", "background",
"option"]
- def make_image_by_aafigure(path, prop, logger)
+ def make_image(path, prop, logger)
image_file = Tempfile.new("rabbit-image-aafigure")
command = ["aafigure",
"--type", "svg",
"--encoding", "utf-8",
"--output", image_file.path]