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