summaryrefslogtreecommitdiff
path: root/lib/rdoc/template.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/template.rb')
-rw-r--r--lib/rdoc/template.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rdoc/template.rb b/lib/rdoc/template.rb
index 09fe1e8d24..368a5539d6 100644
--- a/lib/rdoc/template.rb
+++ b/lib/rdoc/template.rb
@@ -48,9 +48,8 @@ class RDoc::TemplatePage
# Process the template using +values+, writing the result to +io+.
def write_html_on(io, values)
- template_include = ""
-
b = binding
+ template_include = ""
@templates.reverse_each do |template|
template_include = ERB.new(template).result b