1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] Add frozen string literal support

https://github.com/ruby/rdoc/commit/daac9d0471
This commit is contained in:
David Rodríguez 2019-02-16 14:48:51 +01:00 committed by aycabta
parent 37b8a7afca
commit 3169ffc0d6

View file

@ -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