lib/helper.rb in narou-3.7.1 vs lib/helper.rb in narou-3.7.2

- old
+ new

@@ -373,10 +373,10 @@ # # src をERBとして読み込んでから dst に書き出す # def erb_copy(src, dst, _binding) data = File.read(src, mode: "r:BOM|UTF-8") - result = ERB.new(data, nil, "-").result(_binding) + result = ERB.new(data, trim_mode: "-").result(_binding) File.write(dst, result) end # # カンマ付き数字列を数値に変換