Sha256: 46f96d2017a66ac502dd58f6ef64e8751a0fe34a06c146f6bb6469eed8ec1e79

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module LiquidDiagrams
  module Renderers
    class VegaliteRenderer < BasicRenderer
      OPTIONS = %w[
        scale
      ].freeze

      def render
        Rendering.render_with_stdin_stdout(build_command, @content)
      end

      def executable
        'vl2svg'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
liquid-diagrams-0.4.0 lib/liquid_diagrams/renderers/vegalite_renderer.rb