summaryrefslogtreecommitdiff
path: root/lib/erb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/erb.rb')
-rw-r--r--lib/erb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index c6e9129120..e1f0782855 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -518,7 +518,7 @@ class ERB
def compile(s)
out = Buffer.new(self)
- out.push("# -*- coding: #{s.encoding} -*-")
+ out.push("# -*- coding: #{s.encoding} -*-\n")
content = ''
scanner = make_scanner(s)