aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-15 07:20:07 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-15 07:20:07 +0000
commit0fd3fe001d5f0862200f6fb69b289b42518c0a6b (patch)
tree3472cfcb33fdfec2dff808add0a1775f34334960 /lib/rdoc
parent4bd1d6b2a1b4df3d2e9d2725dba379cc16893b8d (diff)
downloadruby-0fd3fe001d5f0862200f6fb69b289b42518c0a6b.tar.gz
* lib/erb.rb: Render erb with array buffer for function call optimization.
[fix GH-1143] * lib/rdoc/erb_partial.rb: ditto. * template/verconf.h.tmpl: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/erb_partial.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/erb_partial.rb b/lib/rdoc/erb_partial.rb
index 910d1e0351..8359258d27 100644
--- a/lib/rdoc/erb_partial.rb
+++ b/lib/rdoc/erb_partial.rb
@@ -11,7 +11,7 @@ class RDoc::ERBPartial < ERB
def set_eoutvar compiler, eoutvar = '_erbout'
super
- compiler.pre_cmd = ["#{eoutvar} ||= ''"]
+ compiler.pre_cmd = ["#{eoutvar} ||= []"]
end
end