Update ERB call to avoid deprecation warnings
This commit is contained in:
parent
6044b64695
commit
4baf26e492
@ -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|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user