diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-09-05 10:23:54 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-09-05 14:24:00 +0000 |
commit | 790df7d3837af6554b26664d6de9a4d167cea1c7 (patch) | |
tree | 90763212d6d9a4a5ab47751d0983e466df7e8434 /yarp | |
parent | 89a4fd67453b33b7c709c715f01cfeff8efb2f9d (diff) | |
download | ruby-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-x | yarp/templates/template.rb | 2 |
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 |