Sha256: 83594fa69d08eb8c9fd1b8a167e8017b92ad5e71a066c0602d2dd5521c30e321

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

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 :Optimizer, Temple::Filters::CodeMerger
    replace :Generator, Temple::Generators::ERB
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slim-2.1.0 lib/slim/erb_converter.rb
slim-2.0.3 lib/slim/erb_converter.rb
slim-2.0.2 lib/slim/erb_converter.rb
slim-2.0.1 lib/slim/erb_converter.rb
slim-2.0.0 lib/slim/erb_converter.rb