template_result(template, context, template_file)
protected
Creates the result for template
with context. If an error is raised a Pathname template_file will indicate the
file where the error occurred.
# File lib/rdoc/generator/darkfish.rb, line 364
def template_result template, context, template_file
template.filename = template_file.to_s
template.result context
rescue NoMethodError => e
raise RDoc::Error, "Error while evaluating %s: %s" % [
template_file.expand_path,
e.message,
], e.backtrace
end