class Middleman::Renderers::CoffeeScript::DebuggingCoffeeScriptTemplate

def evaluate(context, locals, &block)

Returns:
  • (String) -

Parameters:
  • locals (Hash) --
  • context (Class) --
def evaluate(context, locals, &block)
  return super if context.build?
  begin
    super
  rescue ::ExecJS::RuntimeError => e
    e.to_s
  rescue => e
    e.to_s
  end
end