aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-20 06:36:57 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-20 06:36:57 +0000
commit7241c3b81fe573dcaed71e08c1fd44c069095040 (patch)
treea285bd7b3433600fc89f0a17d8b9d4e2b709613b /lib/rdoc
parentb9623dbdb805998cb975adacb62df362ac567014 (diff)
downloadruby-7241c3b81fe573dcaed71e08c1fd44c069095040.tar.gz
* lib/erb.rb: revert r53123. It break compatibility like thor and rspec-rails.
We should try with Ruby 2.4 or 3.0. [Bug #11842][ruby-core:72374] * lib/rdoc/erb_partial.rb: ditto. * template/verconf.h.tmpl: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53216 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 ebb8cb3117..d17dda20a9 100644
--- a/lib/rdoc/erb_partial.rb
+++ b/lib/rdoc/erb_partial.rb
@@ -12,7 +12,7 @@ class RDoc::ERBPartial < ERB
def set_eoutvar compiler, eoutvar = '_erbout'
super
- compiler.pre_cmd = ["#{eoutvar} ||= []"]
+ compiler.pre_cmd = ["#{eoutvar} ||= ''"]
end
end