Sha256: 967c1ff922f9b6cc875495ce6ed0b859e63e1d4b97b18540b7686032d16862ff

Contents?: true

Size: 318 Bytes

Versions: 106

Compression:

Stored size: 318 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 :StaticMerger, Temple::Filters::CodeMerger
    replace :Generator, Temple::Generators::ERB
  end
end

Version data entries

106 entries across 92 versions & 6 rubygems

Version Path
slim-3.0.6 lib/slim/erb_converter.rb
slim-3.0.3 lib/slim/erb_converter.rb
slim-3.0.2 lib/slim/erb_converter.rb
slim-3.0.1 lib/slim/erb_converter.rb
slim-3.0.0 lib/slim/erb_converter.rb
slim-3.0.0.beta.3 lib/slim/erb_converter.rb