From 790df7d3837af6554b26664d6de9a4d167cea1c7 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Tue, 5 Sep 2023 10:23:54 -0400 Subject: [PATCH] [ruby/yarp] Fix up CI for Ruby 2.5 https://github.com/ruby/yarp/commit/462cb561a9 --- yarp/templates/template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarp/templates/template.rb b/yarp/templates/template.rb index 5880f11957..64f1d75f85 100755 --- a/yarp/templates/template.rb +++ b/yarp/templates/template.rb @@ -314,7 +314,7 @@ module YARP ERB.new(template, trim_mode: "-") end else - def erb + def erb(template) ERB.new(template, nil, "-") end end