aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-05 22:22:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-05 22:22:56 +0000
commit36ca18b84715dcc92a82ec4cbef6e83321640443 (patch)
treed045ae961a90eb12a31843efe05ce9887b2072e0
parenta22d6f55e8d4e0dadea28c47dffd18d7ba1c0f4e (diff)
downloadruby-36ca18b84715dcc92a82ec4cbef6e83321640443.tar.gz
Put an line before "frozen_string_literal: true" for emacs.
https://bugs.ruby-lang.org/issues/8976#note-49 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/pathname/lib/pathname.rb1
-rw-r--r--lib/pp.rb1
-rw-r--r--lib/prettyprint.rb1
-rw-r--r--lib/resolv.rb1
-rw-r--r--lib/tmpdir.rb1
-rw-r--r--test/pathname/test_pathname.rb1
-rw-r--r--test/test_pp.rb1
-rw-r--r--test/test_prettyprint.rb1
-rw-r--r--tool/transcode-tblgen.rb1
9 files changed, 9 insertions, 0 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 85588663f8..68cc01b232 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
#
# = pathname.rb
diff --git a/lib/pp.rb b/lib/pp.rb
index ef787bb764..6db423da23 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
require 'prettyprint'
diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb
index dc63e49321..454c69233d 100644
--- a/lib/prettyprint.rb
+++ b/lib/prettyprint.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
#
# This class implements a pretty printing algorithm. It finds line breaks and
diff --git a/lib/resolv.rb b/lib/resolv.rb
index fbfd822799..a5eb9fe55f 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
require 'socket'
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index eafde411a0..adbe404146 100644
--- a/lib/tmpdir.rb
+++ b/lib/tmpdir.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
#
# tmpdir - retrieve temporary directory path
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb
index 339ef7f487..94bcc90bf0 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
require 'test/unit'
diff --git a/test/test_pp.rb b/test/test_pp.rb
index 69594c0aef..70390c7559 100644
--- a/test/test_pp.rb
+++ b/test/test_pp.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
require 'pp'
diff --git a/test/test_prettyprint.rb b/test/test_prettyprint.rb
index 0d087b4a78..30b00095d9 100644
--- a/test/test_prettyprint.rb
+++ b/test/test_prettyprint.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
require 'prettyprint'
diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb
index 569f8026d6..3ff60112d8 100644
--- a/tool/transcode-tblgen.rb
+++ b/tool/transcode-tblgen.rb
@@ -1,3 +1,4 @@
+#
# -*- frozen_string_literal: true -*-
require 'optparse'