Class: MithrilRails::MSX::Template

Inherits:
Tilt::Template
  • Object
show all
Defined in:
lib/mithril_rails/msx/template.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(scope, locals, &block) ⇒ Object



12
13
14
# File 'lib/mithril_rails/msx/template.rb', line 12

def evaluate(scope, locals, &block)
  @output ||= MSX::transform(data)
end

#prepareObject



9
10
# File 'lib/mithril_rails/msx/template.rb', line 9

def prepare
end