Class: Tilt::MJML
- Inherits:
-
Template
- Object
- Template
- Tilt::MJML
- Defined in:
- lib/tilt/mjml.rb
Overview
MJML template for Tilt
Instance Method Summary collapse
Instance Method Details
#evaluate(scope, locals, &block) ⇒ Object
11 12 13 |
# File 'lib/tilt/mjml.rb', line 11 def evaluate(scope, locals, &block) @output ||= ::MJML::Parser.new.call(data) end |
#prepare ⇒ Object
8 9 |
# File 'lib/tilt/mjml.rb', line 8 def prepare end |