summaryrefslogtreecommitdiff
path: root/lib/rdoc/template.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-08 09:07:31 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-08 09:07:31 +0000
commite539dc6080b4b1338968650c2b8ff645b72b11bf (patch)
treeb969c97c53b99dc68885d2d45187b01e197b2bf6 /lib/rdoc/template.rb
parentcc22700b900d37ffd452b0139749c3f024b9c380 (diff)
Replace ri with Ryan Davis' cached ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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