# File lib/ramaze/view/mustache.rb, line 18 def self.call(action, string) context, path, ext = class_defined?(action) action.sync_variables(action) action.variables.each { |k, v| context[k.to_sym] = v } view = View.compile(string) { |s| ::Mustache::Template.new(s) } html = view.render(context) return html, 'text/html' end