# File lib/rdoc/generator/darkfish.rb, line 514 def template_for file, page = true, klass = nil template = @template_cache[file] return template if template klass = @options.dry_run ? ERB : RDoc::ERBIO unless klass template = if page then assemble_template file else file.read end template = klass.new template, nil, '<>' @template_cache[file] = template template end