slim-template/slim

Slim::ERBConverter
A

No issues here. Congrats!

require 'slim'

module Slim
  # Slim to ERB converter
  #
  # @example Conversion
  #   Slim::ERBConverter.new(options).call(slim_code) # outputs erb_code
  #
  # @api public
  class ERBConverter < Engine
    replace :StaticMerger, Temple::Filters::CodeMerger
    replace :Generator, Temple::Generators::ERB
  end
end

Size

Lines of code
7