End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
ERB#set_eoutvar
set_eoutvar(compiler, eoutvar = '_erbout')
lib/erb.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/erb.rb, line 880
def set_eoutvar(compiler, eoutvar = '_erbout')
compiler.put_cmd = "#{eoutvar}.<<"
compiler.insert_cmd = "#{eoutvar}.<<"
compiler.pre_cmd = ["#{eoutvar} = +''"]
compiler.post_cmd = [eoutvar]
end