class Myth::Rails::MythTemplate

Myth template implementation. See: myth.io/

Myth templates do not support object scopes, locals, or yield.

Public Instance Methods

allows_script?() click to toggle source
# File lib/myth/rails/myth_template.rb, line 20
def allows_script?
  false
end
evaluate(scope, locals, &block) click to toggle source
# File lib/myth/rails/myth_template.rb, line 16
def evaluate(scope, locals, &block)
  @output ||= ::Myth.preprocess(data, options)
end
prepare() click to toggle source
# File lib/myth/rails/myth_template.rb, line 13
def prepare
end