aboutsummaryrefslogtreecommitdiffstats
path: root/yarp
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-09-05 10:23:54 -0400
committergit <svn-admin@ruby-lang.org>2023-09-05 14:24:00 +0000
commit790df7d3837af6554b26664d6de9a4d167cea1c7 (patch)
tree90763212d6d9a4a5ab47751d0983e466df7e8434 /yarp
parent89a4fd67453b33b7c709c715f01cfeff8efb2f9d (diff)
downloadruby-790df7d3837af6554b26664d6de9a4d167cea1c7.tar.gz
[ruby/yarp] Fix up CI for Ruby 2.5
https://github.com/ruby/yarp/commit/462cb561a9
Diffstat (limited to 'yarp')
-rwxr-xr-xyarp/templates/template.rb2
1 files changed, 1 insertions, 1 deletions
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