Sha256: eaf388e331cf604c68dba1ad6939d8fe5c8ab17ee61d522e8edf2aba32fa6765
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true module LiquidDiagrams module Renderers class SyntraxRenderer < BasicRenderer OPTIONS = %w[ scale style ].freeze def render Rendering.render_with_tempfile(build_command, @content) do |input, output| "--input #{input} --output #{output}" end 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/syntrax_renderer.rb |