Sha256: 5b00025ea742bf5085b51261c35c38476aeeb7eb49fa374a35a20cfc44a92af1

Contents?: true

Size: 209 Bytes

Versions: 6

Compression:

Stored size: 209 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
faml-0.2.5 lib/faml/rails_handler.rb
faml-0.2.4 lib/faml/rails_handler.rb
faml-0.2.3 lib/faml/rails_handler.rb
faml-0.2.2 lib/faml/rails_handler.rb
faml-0.2.1 lib/faml/rails_handler.rb
faml-0.2.0 lib/faml/rails_handler.rb