From 0516a3378f03e8563350b8c4fe94ac3f9e9c9f75 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sun, 20 Dec 2015 06:36:57 +0000 Subject: * 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 --- lib/rdoc/erb_partial.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc') 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 -- cgit v1.2.3