Class: Faml::RailsHandler
- Inherits:
-
Object
- Object
- Faml::RailsHandler
- Defined in:
- lib/faml/rails_handler.rb
Instance Method Summary collapse
Instance Method Details
#call(template) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/faml/rails_handler.rb', line 4 def call(template) Engine.new( use_html_safe: true, generator: Temple::Generators::RailsOutputBuffer, filename: template.identifier, ).call(template.source) end |