template_for(file)
protected
Retrieves a cache template for file, if
present, or fills the cache.
# File lib/rdoc/generator/darkfish.rb, line 377
def template_for file
template = @template_cache[file]
return template if template
klass = @options.dry_run ? ERB : RDoc::ERBIO
template = klass.new file.read, nil, '<>'
@template_cache[file] = template
template
end