Class: Tilt::MJML

Inherits:
Template
  • Object
show all
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

#prepareObject



8
9
# File 'lib/tilt/mjml.rb', line 8

def prepare
end