class Sprockets::MJML

MJML interface for Sprockets

Public Class Methods

call(input) click to toggle source
# File lib/sprockets/mjml.rb, line 8
def self.call(input)
  input.merge(data: ::MJML::Parser.new.call(input[:data]))
end