class Asciidoctor::Diagram::DbmlConverter

@private

Public Instance Methods

convert(source, format, options) click to toggle source
# File lib/asciidoctor-diagram/dbml/converter.rb, line 17
def convert(source, format, options)
  generate_stdin_stdout(source.find_command('dbml-renderer'), source.code) do |tool|
    {
      :args => [tool],
      :chdir => source.base_dir
    }
  end
end
supported_formats() click to toggle source
# File lib/asciidoctor-diagram/dbml/converter.rb, line 13
def supported_formats
  [:svg]
end