Update ERB call to avoid deprecation warnings
This commit is contained in:
1 parent
6044b64695
commit
4baf26e492
1 file changed
+1
-1
@@ -99,7 +99,7 @@ class Generator
|
||||
end
|
||||
|
||||
template = File.read("rb/assets/user_guide.html.erb")
|
||||
erb = ERB.new(template, nil, "<>")
|
||||
erb = ERB.new(template, trim_mode: "<>")
|
||||
|
||||
if multi_page
|
||||
@pages.each_with_index do |page, page_index|
|
||||
|
||||
Reference in new issue
Block a user