Open kojix2 opened 1 year ago
trim_mode must be passed as a keyword argument or a deprecation warning is shown. The current code will not work with Ruby 3.2 or higher.
https://docs.ruby-lang.org/ja/latest/class/ERB.html#S_NEW
Ruby 2.6.0 から位置引数での safe_level, trim_mode, eoutvar の指定は非推奨です。 Ruby 3.2 で削除されました。 trim_mode と eoutvar の指定はキーワード引数に移行してください。
trim_mode must be passed as a keyword argument or a deprecation warning is shown. The current code will not work with Ruby 3.2 or higher.
https://docs.ruby-lang.org/ja/latest/class/ERB.html#S_NEW