ruby-changes:61363
From: David <ko1@a...>
Date: Sun, 24 May 2020 23:53:17 +0900 (JST)
Subject: [ruby-changes:61363] 3169ffc0d6 (master): [ruby/rdoc] Add frozen string literal support
https://git.ruby-lang.org/ruby.git/commit/?id=3169ffc0d6 From 3169ffc0d61ce357ff2e5728b234355fe1523b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 16 Feb 2019 14:48:51 +0100 Subject: [ruby/rdoc] Add frozen string literal support https://github.com/ruby/rdoc/commit/daac9d0471 diff --git a/lib/rdoc/erb_partial.rb b/lib/rdoc/erb_partial.rb index 8dc2c46..d6e3f41 100644 --- a/lib/rdoc/erb_partial.rb +++ b/lib/rdoc/erb_partial.rb @@ -12,7 +12,7 @@ class RDoc::ERBPartial < ERB https://github.com/ruby/ruby/blob/trunk/lib/rdoc/erb_partial.rb#L12 def set_eoutvar compiler, eoutvar = '_erbout' super - compiler.pre_cmd = ["#{eoutvar} ||= ''"] + compiler.pre_cmd = ["#{eoutvar} ||= +''"] end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/