module Asciidoctor::Diagram::DiagramConverter
This module describes the duck-typed interface that diagram converters must implement. Implementations may include this module but it is not required.
Public Instance Methods
collect_options(source, name)
click to toggle source
# File lib/asciidoctor-diagram/diagram_converter.rb, line 10 def collect_options(source, name) {} end
convert(source, format, options)
click to toggle source
# File lib/asciidoctor-diagram/diagram_converter.rb, line 14 def convert(source, format, options) raise NotImplementedError.new end
supported_formats()
click to toggle source
# File lib/asciidoctor-diagram/diagram_converter.rb, line 6 def supported_formats raise NotImplementedError.new end