Sha256: 22338937a6e8682b044854ebb39c92025b2a59cfbda13c33d1ac2d7fb0cf08c0

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true
module Faml
  class RailsHandler
    def call(template)
      Engine.new(
        use_html_safe: true,
        generator: Temple::Generators::RailsOutputBuffer,
        filename: template.identifier,
      ).call(template.source)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faml-0.8.1 lib/faml/rails_handler.rb
faml-0.8.0 lib/faml/rails_handler.rb